#B9B33E#B9B33E
#B9B33E is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.136 H 106.4°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B33E |
|---|---|
| RGB | rgb(185, 179, 62) |
| HSL | hsl(57, 50%, 48%) |
| HSV | hsv(57, 66%, 73%) |
| CMYK | cmyk(0%, 3.2%, 66.5%, 27.5%) |
| CIE-LAB | lab(71.49, -12.03, 58.01) |
| CIE-LCH | lch(71.49, 59.25, 101.72°) |
| OKLab | oklab(75.01% -0.0384 0.1305) |
| OKLCH | oklch(75.01% 0.136 106.4) |
| XYZ | xyz(36.9985, 42.9035, 10.8888) |
| Luminance | 0.4290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.39
Puke Yellow
#C2BE0E
ΔE00 4.95
Muddy Yellow
#BFAC05
ΔE00 5.17
Puke
#A5A502
ΔE00 5.35
Mustard Green
#A8B504
ΔE00 5.36
Vomit
#A2A415
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B33E #3E44B9
analogous
#B9753E #B9B33E #81B93E
triadic
#B9B33E #3EB9B3 #B33EB9
tetradic
#B9B33E #3EB975 #3E44B9 #B93E81
square
#B9B33E #3EB975 #3E44B9 #B93E81
split-complementary
#B9B33E #3E81B9 #753EB9
monochromatic
#5D5A1F #8B872F #B9B33E #CCC768 #DCD896
Accessibility & contrast
On white
2.19
#B9B33E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#B9B33E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B33E
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B33E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B33E | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC2E
Deuteranopia (green-blind)
#C5B145
Tritanopia (blue-blind)
#C6A79B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b9b33e; /* rgb */ color: rgb(185, 179, 62); /* oklch */ color: oklch(75.0% 0.136 106.4);
Tailwind
colors: {
custom: {
50: '#d1c97a',
500: '#b9b33e',
950: '#000000',
},
}SCSS
$custom: #b9b33e; $custom-light: #d1c97a; $custom-dark: #000000;
JSON
{
"hex": "#b9b33e",
"rgb": {
"r": 185,
"g": 179,
"b": 62
},
"hsl": {
"h": 57.073,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.75008,
"c": 0.13603,
"h": 106.4
},
"luminance": 0.42902
}Semantic roles & 50–950 ramp
primary
#B9B33E
secondary
#8C8EC7
accent
#55D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C