#B9B22E#B9B22E
#B9B22E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.145 H 106.3°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B22E |
|---|---|
| RGB | rgb(185, 178, 46) |
| HSL | hsl(57, 60%, 45%) |
| HSV | hsv(57, 75%, 73%) |
| CMYK | cmyk(0%, 3.8%, 75.1%, 27.5%) |
| CIE-LAB | lab(71.11, -12.32, 63.59) |
| CIE-LCH | lch(71.11, 64.77, 100.96°) |
| OKLab | oklab(74.68% -0.0408 0.1395) |
| OKLCH | oklch(74.68% 0.145 106.3) |
| XYZ | xyz(36.4226, 42.3537, 8.8407) |
| Luminance | 0.4235 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.10
Muddy Yellow
#BFAC05
ΔE00 3.98
Puke Yellow
#C2BE0E
ΔE00 4.03
Puke
#A5A502
ΔE00 4.63
Vomit Yellow
#C7C10C
ΔE00 4.86
Mustard Green
#A8B504
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B22E #2E35B9
analogous
#B96C2E #B9B22E #7BB92E
triadic
#B9B22E #2EB9B2 #B22EB9
tetradic
#B9B22E #2EB96C #2E35B9 #B92E7B
square
#B9B22E #2EB96C #2E35B9 #B92E7B
split-complementary
#B9B22E #2E7BB9 #6C2EB9
monochromatic
#575416 #888322 #B9B22E #D4CD51 #E0DB82
Accessibility & contrast
On white
2.22
#B9B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#B9B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B22E
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B22E | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB11
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#C7A699
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b9b22e; /* rgb */ color: rgb(185, 178, 46); /* oklch */ color: oklch(74.7% 0.145 106.3);
Tailwind
colors: {
custom: {
50: '#d2c871',
500: '#b9b22e',
950: '#000000',
},
}SCSS
$custom: #b9b22e; $custom-light: #d2c871; $custom-dark: #000000;
JSON
{
"hex": "#b9b22e",
"rgb": {
"r": 185,
"g": 178,
"b": 46
},
"hsl": {
"h": 56.978,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.74676,
"c": 0.14532,
"h": 106.3
},
"luminance": 0.42352
}Semantic roles & 50–950 ramp
primary
#B9B22E
secondary
#7A7EC9
accent
#4CE344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B