#B9B651#B9B651
#B9B651 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.124 H 107.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B651 |
|---|---|
| RGB | rgb(185, 182, 81) |
| HSL | hsl(58, 43%, 52%) |
| HSV | hsv(58, 56%, 73%) |
| CMYK | cmyk(0%, 1.6%, 56.2%, 27.5%) |
| CIE-LAB | lab(72.47, -12.29, 50.80) |
| CIE-LCH | lch(72.47, 52.26, 103.60°) |
| OKLab | oklab(75.84% -0.037 0.1179) |
| OKLCH | oklch(75.84% 0.124 107.4) |
| XYZ | xyz(38.2218, 44.3654, 14.3330) |
| Luminance | 0.4436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.99
Mustard Green
#A8B504
ΔE00 6.45
Olive Yellow
#C2B709
ΔE00 6.49
Puke Yellow
#C2BE0E
ΔE00 6.55
Snot
#ACBB0D
ΔE00 6.62
Khaki (survey)
#AAA662
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B651 #5154B9
analogous
#B98251 #B9B651 #88B951
triadic
#B9B651 #51B9B6 #B651B9
tetradic
#B9B651 #51B982 #5154B9 #B95188
square
#B9B651 #51B982 #5154B9 #B95188
split-complementary
#B9B651 #5188B9 #8251B9
monochromatic
#666529 #92903B #B9B651 #CBC87D #DCDBA8
Accessibility & contrast
On white
2.13
#B9B651 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#B9B651 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B651
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B651 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B651 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#C5ABA0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b651; /* rgb */ color: rgb(185, 182, 81); /* oklch */ color: oklch(75.8% 0.124 107.4);
Tailwind
colors: {
custom: {
50: '#d0cb85',
500: '#b9b651',
950: '#000000',
},
}SCSS
$custom: #b9b651; $custom-light: #d0cb85; $custom-dark: #000000;
JSON
{
"hex": "#b9b651",
"rgb": {
"r": 185,
"g": 182,
"b": 81
},
"hsl": {
"h": 58.269,
"s": 42.623,
"l": 52.157
},
"oklch": {
"l": 0.75844,
"c": 0.12354,
"h": 107.4
},
"luminance": 0.44364
}Semantic roles & 50–950 ramp
primary
#B9B651
secondary
#9C9ECA
accent
#59D255
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C