#B9B32E#B9B32E
#B9B32E is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.9% C 0.146 H 106.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B32E |
|---|---|
| RGB | rgb(185, 179, 46) |
| HSL | hsl(57, 60%, 45%) |
| HSV | hsv(57, 75%, 73%) |
| CMYK | cmyk(0%, 3.2%, 75.1%, 27.5%) |
| CIE-LAB | lab(71.39, -12.83, 63.85) |
| CIE-LCH | lch(71.39, 65.12, 101.36°) |
| OKLab | oklab(74.89% -0.0422 0.14) |
| OKLCH | oklch(74.89% 0.146 106.8) |
| XYZ | xyz(36.6223, 42.7531, 8.9073) |
| Luminance | 0.4275 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.07
Puke Yellow
#C2BE0E
ΔE00 3.80
Muddy Yellow
#BFAC05
ΔE00 4.24
Vomit Yellow
#C7C10C
ΔE00 4.64
Mustard Green
#A8B504
ΔE00 4.66
Puke
#A5A502
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B32E #2E34B9
analogous
#B96D2E #B9B32E #79B92E
triadic
#B9B32E #2EB9B3 #B32EB9
tetradic
#B9B32E #2EB96D #2E34B9 #B92E79
square
#B9B32E #2EB96D #2E34B9 #B92E79
split-complementary
#B9B32E #2E79B9 #6D2EB9
monochromatic
#575416 #888422 #B9B32E #D4CE51 #E0DC82
Accessibility & contrast
On white
2.20
#B9B32E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#B9B32E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B32E
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B32E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B32E | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC10
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b9b32e; /* rgb */ color: rgb(185, 179, 46); /* oklch */ color: oklch(74.9% 0.146 106.8);
Tailwind
colors: {
custom: {
50: '#d2c971',
500: '#b9b32e',
950: '#000000',
},
}SCSS
$custom: #b9b32e; $custom-light: #d2c971; $custom-dark: #000000;
JSON
{
"hex": "#b9b32e",
"rgb": {
"r": 185,
"g": 179,
"b": 46
},
"hsl": {
"h": 57.41,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.74894,
"c": 0.14624,
"h": 106.8
},
"luminance": 0.42752
}Semantic roles & 50–950 ramp
primary
#B9B32E
secondary
#7A7DC9
accent
#4BE344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B