#B6AF42
A medium, moderate yellow closely aligning with Darkkhaki.
About #B6AF42
When working with digital screens, the color #B6AF42 is rendered by mixing light. It is closely associated with the named CSS color Darkkhaki. This translates to an RGB value of rgb(182, 175, 66).
For print applications, it's crucial to understand its CMYK makeup. The color uses 0% Cyan, 4% Magenta, 64% Yellow, and 29% Black. 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. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#B6AF42
RGB182, 175, 66
HSL56.4°, 46.8%, 48.6%
CMYK0%, 4%, 64%, 29%
HSV56.4°, 63.7%, 71.4%
LAB70.2, -11.0, 54.9
XYZ35.6, 41.0, 11.2
Decimal11972418
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.28:1
Text on #FFFFFF
FAIL
9.20:1
Text on #000000
AAA
2.18:1
Text on #F8FAFC
FAIL
7.82:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #B6AF42;
}
.text-color {
color: #B6AF42;
}
.border-color {
border: 2px solid #B6AF42;
}