#B9B03E#B9B03E
#B9B03E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.133 H 104.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B03E |
|---|---|
| RGB | rgb(185, 176, 62) |
| HSL | hsl(56, 50%, 48%) |
| HSV | hsv(56, 66%, 73%) |
| CMYK | cmyk(0%, 4.9%, 66.5%, 27.5%) |
| CIE-LAB | lab(70.67, -10.48, 57.17) |
| CIE-LCH | lch(70.67, 58.12, 100.39°) |
| OKLab | oklab(74.36% -0.034 0.1287) |
| OKLCH | oklch(74.36% 0.133 104.8) |
| XYZ | xyz(36.4038, 41.7141, 10.6905) |
| Luminance | 0.4171 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.63
Muddy Yellow
#BFAC05
ΔE00 4.65
Puke
#A5A502
ΔE00 5.21
Vomit
#A2A415
ΔE00 5.38
Puke Yellow
#C2BE0E
ΔE00 5.61
Brownish Yellow
#C9B003
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B03E #3E47B9
analogous
#B9723E #B9B03E #84B93E
triadic
#B9B03E #3EB9B0 #B03EB9
tetradic
#B9B03E #3EB972 #3E47B9 #B93E84
square
#B9B03E #3EB972 #3E47B9 #B93E84
split-complementary
#B9B03E #3E84B9 #723EB9
monochromatic
#5D591F #8B842F #B9B03E #CCC568 #DCD796
Accessibility & contrast
On white
2.25
#B9B03E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#B9B03E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B03E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B03E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B03E | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C2AF45
Tritanopia (blue-blind)
#C6A499
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b9b03e; /* rgb */ color: rgb(185, 176, 62); /* oklch */ color: oklch(74.4% 0.133 104.8);
Tailwind
colors: {
custom: {
50: '#d1c779',
500: '#b9b03e',
950: '#000000',
},
}SCSS
$custom: #b9b03e; $custom-light: #d1c779; $custom-dark: #000000;
JSON
{
"hex": "#b9b03e",
"rgb": {
"r": 185,
"g": 176,
"b": 62
},
"hsl": {
"h": 55.61,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.74358,
"c": 0.13314,
"h": 104.8
},
"luminance": 0.41713
}Semantic roles & 50–950 ramp
primary
#B9B03E
secondary
#8C90C7
accent
#59D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B