#B9B32D#B9B32D
#B9B32D is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.147 H 106.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B32D |
|---|---|
| RGB | rgb(185, 179, 45) |
| HSL | hsl(57, 61%, 45%) |
| HSV | hsv(57, 76%, 73%) |
| CMYK | cmyk(0%, 3.2%, 75.7%, 27.5%) |
| CIE-LAB | lab(71.38, -12.87, 64.17) |
| CIE-LCH | lch(71.38, 65.45, 101.34°) |
| OKLab | oklab(74.89% -0.0424 0.1405) |
| OKLCH | oklch(74.89% 0.147 106.8) |
| XYZ | xyz(36.6028, 42.7453, 8.8047) |
| Luminance | 0.4274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.00
Puke Yellow
#C2BE0E
ΔE00 3.74
Muddy Yellow
#BFAC05
ΔE00 4.20
Vomit Yellow
#C7C10C
ΔE00 4.60
Mustard Green
#A8B504
ΔE00 4.64
Puke
#A5A502
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B32D #2D33B9
analogous
#B96D2D #B9B32D #79B92D
triadic
#B9B32D #2DB9B3 #B32DB9
tetradic
#B9B32D #2DB96D #2D33B9 #B92D79
square
#B9B32D #2DB96D #2D33B9 #B92D79
split-complementary
#B9B32D #2D79B9 #6D2DB9
monochromatic
#575415 #888321 #B9B32D #D4CE4F #E0DC80
Accessibility & contrast
On white
2.20
#B9B32D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#B9B32D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B32D
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B32D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B32D | 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)
#C3AC0D
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C7A79A
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b9b32d; /* rgb */ color: rgb(185, 179, 45); /* oklch */ color: oklch(74.9% 0.147 106.8);
Tailwind
colors: {
custom: {
50: '#d2c971',
500: '#b9b32d',
950: '#000000',
},
}SCSS
$custom: #b9b32d; $custom-light: #d2c971; $custom-dark: #000000;
JSON
{
"hex": "#b9b32d",
"rgb": {
"r": 185,
"g": 179,
"b": 45
},
"hsl": {
"h": 57.429,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.74888,
"c": 0.14679,
"h": 106.8
},
"luminance": 0.42744
}Semantic roles & 50–950 ramp
primary
#B9B32D
secondary
#797CC9
accent
#4BE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B