#B9A02E#B9A02E
#B9A02E is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.131 H 96.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A02E |
|---|---|
| RGB | rgb(185, 160, 46) |
| HSL | hsl(49, 60%, 45%) |
| HSV | hsv(49, 75%, 73%) |
| CMYK | cmyk(0%, 13.5%, 75.1%, 27.5%) |
| CIE-LAB | lab(66.26, -2.87, 59.03) |
| CIE-LCH | lch(66.26, 59.10, 92.78°) |
| OKLab | oklab(70.82% -0.0141 0.1298) |
| OKLCH | oklch(70.82% 0.131 96.2) |
| XYZ | xyz(33.0733, 35.6549, 7.7243) |
| Luminance | 0.3565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.30
Ocher
#BF9B0C
ΔE00 3.65
Dark Gold
#B59410
ΔE00 4.16
Yellow Brown
#B79400
ΔE00 4.57
Muddy Yellow
#BFAC05
ΔE00 4.91
Baby Shit Brown
#AD900D
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A02E #2E47B9
analogous
#B95B2E #B9A02E #8CB92E
triadic
#B9A02E #2EB9A0 #A02EB9
tetradic
#B9A02E #2EB95B #2E47B9 #B92E8C
square
#B9A02E #2EB95B #2E47B9 #B92E8C
split-complementary
#B9A02E #2E8CB9 #5B2EB9
monochromatic
#574B16 #887622 #B9A02E #D4BC51 #E0CF82
Accessibility & contrast
On white
2.58
#B9A02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#B9A02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A02E
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A02E | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C19
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#C8938A
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b9a02e; /* rgb */ color: rgb(185, 160, 46); /* oklch */ color: oklch(70.8% 0.131 96.2);
Tailwind
colors: {
custom: {
50: '#d2bb6f',
500: '#b9a02e',
950: '#000000',
},
}SCSS
$custom: #b9a02e; $custom-light: #d2bb6f; $custom-dark: #000000;
JSON
{
"hex": "#b9a02e",
"rgb": {
"r": 185,
"g": 160,
"b": 46
},
"hsl": {
"h": 49.209,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.70817,
"c": 0.13053,
"h": 96.2
},
"luminance": 0.35653
}Semantic roles & 50–950 ramp
primary
#B9A02E
secondary
#7A88C9
accent
#61E344
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B