#B9AF4E#B9AF4E
#B9AF4E is a light, moderate yellow. Relative luminance 0.415; OKLCH L 74.3% C 0.119 H 103.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B9AF4E |
|---|---|
| RGB | rgb(185, 175, 78) |
| HSL | hsl(54, 43%, 52%) |
| HSV | hsv(54, 58%, 73%) |
| CMYK | cmyk(0%, 5.4%, 57.8%, 27.5%) |
| CIE-LAB | lab(70.54, -8.89, 50.01) |
| CIE-LCH | lch(70.54, 50.79, 100.08°) |
| OKLab | oklab(74.3% -0.0277 0.1158) |
| OKLCH | oklch(74.3% 0.119 103.4) |
| XYZ | xyz(36.7139, 41.5256, 13.2876) |
| Luminance | 0.4152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.28
Khaki (survey)
#AAA662
ΔE00 5.77
Muddy Yellow
#BFAC05
ΔE00 6.25
Vomit
#A2A415
ΔE00 6.51
Olive Yellow
#C2B709
ΔE00 6.58
Puke
#A5A502
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9AF4E #4E58B9
analogous
#B97A4E #B9AF4E #8EB94E
triadic
#B9AF4E #4EB9AF #AF4EB9
tetradic
#B9AF4E #4EB97A #4E58B9 #B94E8E
square
#B9AF4E #4EB97A #4E58B9 #B94E8E
split-complementary
#B9AF4E #4E8EB9 #7A4EB9
monochromatic
#655F28 #918839 #B9AF4E #CAC37A #DCD7A6
Accessibility & contrast
On white
2.26
#B9AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#B9AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9AF4E
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9AF4E | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAA44
Deuteranopia (green-blind)
#C0AF53
Tritanopia (blue-blind)
#C6A49A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b9af4e; /* rgb */ color: rgb(185, 175, 78); /* oklch */ color: oklch(74.3% 0.119 103.4);
Tailwind
colors: {
custom: {
50: '#d0c683',
500: '#b9af4e',
950: '#000000',
},
}SCSS
$custom: #b9af4e; $custom-light: #d0c683; $custom-dark: #000000;
JSON
{
"hex": "#b9af4e",
"rgb": {
"r": 185,
"g": 175,
"b": 78
},
"hsl": {
"h": 54.393,
"s": 43.32,
"l": 51.569
},
"oklch": {
"l": 0.74299,
"c": 0.11907,
"h": 103.4
},
"luminance": 0.41524
}Semantic roles & 50–950 ramp
primary
#B9AF4E
secondary
#9A9EC9
accent
#61D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C