#B6AF49
A medium, moderate yellow closely aligning with Darkkhaki.
About #B6AF49
The hex code #B6AF49 represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Darkkhaki. Its digital footprint relies on 182 parts red, 175 parts green, and 73 parts blue light.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 4% magenta inks. This makes it a relatively light color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#B6AF49
RGB182, 175, 73
HSL56.1°, 42.7%, 50.0%
CMYK0%, 4%, 60%, 29%
HSV56.1°, 59.9%, 71.4%
LAB70.2, -10.5, 51.9
XYZ35.8, 41.1, 12.3
Decimal11972425
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.28:1
Text on #FFFFFF
FAIL
9.22:1
Text on #000000
AAA
2.18:1
Text on #F8FAFC
FAIL
7.84:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #B6AF49;
}
.text-color {
color: #B6AF49;
}
.border-color {
border: 2px solid #B6AF49;
}