#B9B552#B9B552
#B9B552 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.6% C 0.122 H 106.8°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B552 |
|---|---|
| RGB | rgb(185, 181, 82) |
| HSL | hsl(58, 42%, 52%) |
| HSV | hsv(58, 56%, 73%) |
| CMYK | cmyk(0%, 2.2%, 55.7%, 27.5%) |
| CIE-LAB | lab(72.21, -11.69, 50.04) |
| CIE-LCH | lch(72.21, 51.39, 103.15°) |
| OKLab | oklab(75.64% -0.0352 0.1164) |
| OKLCH | oklch(75.64% 0.122 106.8) |
| XYZ | xyz(38.0556, 43.9723, 14.4639) |
| Luminance | 0.4397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.75
Khaki (survey)
#AAA662
ΔE00 6.36
Olive Yellow
#C2B709
ΔE00 6.63
Mustard Green
#A8B504
ΔE00 6.74
Puke Yellow
#C2BE0E
ΔE00 6.81
Vomit
#A2A415
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B552 #5256B9
analogous
#B98252 #B9B552 #89B952
triadic
#B9B552 #52B9B5 #B552B9
tetradic
#B9B552 #52B982 #5256B9 #B95289
square
#B9B552 #52B982 #5256B9 #B95289
split-complementary
#B9B552 #5289B9 #8252B9
monochromatic
#67652A #938F3B #B9B552 #CBC87E #DCDAA9
Accessibility & contrast
On white
2.14
#B9B552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#B9B552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B552
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B552 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C5B357
Tritanopia (blue-blind)
#C5AA9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b9b552; /* rgb */ color: rgb(185, 181, 82); /* oklch */ color: oklch(75.6% 0.122 106.8);
Tailwind
colors: {
custom: {
50: '#d0cb86',
500: '#b9b552',
950: '#000000',
},
}SCSS
$custom: #b9b552; $custom-light: #d0cb86; $custom-dark: #000000;
JSON
{
"hex": "#b9b552",
"rgb": {
"r": 185,
"g": 181,
"b": 82
},
"hsl": {
"h": 57.67,
"s": 42.387,
"l": 52.353
},
"oklch": {
"l": 0.75638,
"c": 0.12156,
"h": 106.8
},
"luminance": 0.43971
}Semantic roles & 50–950 ramp
primary
#B9B552
secondary
#9D9FCA
accent
#5AD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C