#B9AE40#B9AE40
#B9AE40 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.130 H 103.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B9AE40 |
|---|---|
| RGB | rgb(185, 174, 64) |
| HSL | hsl(55, 49%, 49%) |
| HSV | hsv(55, 65%, 73%) |
| CMYK | cmyk(0%, 5.9%, 65.4%, 27.5%) |
| CIE-LAB | lab(70.15, -9.32, 55.79) |
| CIE-LCH | lch(70.15, 56.56, 99.49°) |
| OKLab | oklab(73.94% -0.0305 0.1261) |
| OKLCH | oklch(73.94% 0.13 103.6) |
| XYZ | xyz(36.0705, 40.9579, 10.8552) |
| Luminance | 0.4096 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.61
Olive Yellow
#C2B709
ΔE00 5.12
Puke
#A5A502
ΔE00 5.39
Vomit
#A2A415
ΔE00 5.53
Brownish Yellow
#C9B003
ΔE00 5.90
Darkkhaki
#BDB76B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9AE40 #404BB9
analogous
#B97240 #B9AE40 #88B940
triadic
#B9AE40 #40B9AE #AE40B9
tetradic
#B9AE40 #40B972 #404BB9 #B94088
square
#B9AE40 #40B972 #404BB9 #B94088
split-complementary
#B9AE40 #4088B9 #7240B9
monochromatic
#5E5821 #8C8330 #B9AE40 #CCC36B #DBD598
Accessibility & contrast
On white
2.28
#B9AE40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#B9AE40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9AE40
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9AE40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9AE40 | 1.00 | 2.28 | 9.19 | 9.19 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#C6A297
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b9ae40; /* rgb */ color: rgb(185, 174, 64); /* oklch */ color: oklch(73.9% 0.130 103.6);
Tailwind
colors: {
custom: {
50: '#d1c57a',
500: '#b9ae40',
950: '#000000',
},
}SCSS
$custom: #b9ae40; $custom-light: #d1c57a; $custom-dark: #000000;
JSON
{
"hex": "#b9ae40",
"rgb": {
"r": 185,
"g": 174,
"b": 64
},
"hsl": {
"h": 54.545,
"s": 48.594,
"l": 48.824
},
"oklch": {
"l": 0.73944,
"c": 0.12977,
"h": 103.6
},
"luminance": 0.40957
}Semantic roles & 50–950 ramp
primary
#B9AE40
secondary
#8E93C7
accent
#5CD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C