#B9B23E#B9B23E
#B9B23E is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.8% C 0.135 H 105.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B23E |
|---|---|
| RGB | rgb(185, 178, 62) |
| HSL | hsl(57, 50%, 48%) |
| HSV | hsv(57, 66%, 73%) |
| CMYK | cmyk(0%, 3.8%, 66.5%, 27.5%) |
| CIE-LAB | lab(71.22, -11.52, 57.73) |
| CIE-LCH | lch(71.22, 58.87, 101.28°) |
| OKLab | oklab(74.79% -0.0369 0.1299) |
| OKLCH | oklch(74.79% 0.135 105.9) |
| XYZ | xyz(36.7989, 42.5042, 10.8222) |
| Luminance | 0.4250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.44
Muddy Yellow
#BFAC05
ΔE00 4.98
Puke Yellow
#C2BE0E
ΔE00 5.15
Puke
#A5A502
ΔE00 5.28
Vomit
#A2A415
ΔE00 5.44
Mustard Green
#A8B504
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B23E #3E45B9
analogous
#B9743E #B9B23E #82B93E
triadic
#B9B23E #3EB9B2 #B23EB9
tetradic
#B9B23E #3EB974 #3E45B9 #B93E82
square
#B9B23E #3EB974 #3E45B9 #B93E82
split-complementary
#B9B23E #3E82B9 #743EB9
monochromatic
#5D5A1F #8B862F #B9B23E #CCC768 #DCD896
Accessibility & contrast
On white
2.21
#B9B23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#B9B23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B23E
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B23E | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC2E
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#C6A69A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b9b23e; /* rgb */ color: rgb(185, 178, 62); /* oklch */ color: oklch(74.8% 0.135 105.9);
Tailwind
colors: {
custom: {
50: '#d1c87a',
500: '#b9b23e',
950: '#000000',
},
}SCSS
$custom: #b9b23e; $custom-light: #d1c87a; $custom-dark: #000000;
JSON
{
"hex": "#b9b23e",
"rgb": {
"r": 185,
"g": 178,
"b": 62
},
"hsl": {
"h": 56.585,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.74791,
"c": 0.13506,
"h": 105.9
},
"luminance": 0.42503
}Semantic roles & 50–950 ramp
primary
#B9B23E
secondary
#8C8FC7
accent
#56D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B