#B9A42E#B9A42E
#B9A42E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.133 H 98.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A42E |
|---|---|
| RGB | rgb(185, 164, 46) |
| HSL | hsl(51, 60%, 45%) |
| HSV | hsv(51, 75%, 73%) |
| CMYK | cmyk(0%, 11.4%, 75.1%, 27.5%) |
| CIE-LAB | lab(67.33, -5.00, 60.04) |
| CIE-LCH | lch(67.33, 60.25, 94.76°) |
| OKLab | oklab(71.66% -0.0202 0.1319) |
| OKLCH | oklch(71.66% 0.133 98.7) |
| XYZ | xyz(33.7779, 37.0642, 7.9592) |
| Luminance | 0.3706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.70
Brown Yellow
#B29705
ΔE00 4.31
Ocher
#BF9B0C
ΔE00 4.87
Brownish Yellow
#C9B003
ΔE00 4.94
Dark Gold
#B59410
ΔE00 5.57
Mustard (survey)
#CEB301
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A42E #2E43B9
analogous
#B95E2E #B9A42E #89B92E
triadic
#B9A42E #2EB9A4 #A42EB9
tetradic
#B9A42E #2EB95E #2E43B9 #B92E89
square
#B9A42E #2EB95E #2E43B9 #B92E89
split-complementary
#B9A42E #2E89B9 #5E2EB9
monochromatic
#574D16 #887922 #B9A42E #D4C051 #E0D282
Accessibility & contrast
On white
2.50
#B9A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#B9A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A42E
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A42E | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A018
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#C8978D
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b9a42e; /* rgb */ color: rgb(185, 164, 46); /* oklch */ color: oklch(71.7% 0.133 98.7);
Tailwind
colors: {
custom: {
50: '#d2be70',
500: '#b9a42e',
950: '#000000',
},
}SCSS
$custom: #b9a42e; $custom-light: #d2be70; $custom-dark: #000000;
JSON
{
"hex": "#b9a42e",
"rgb": {
"r": 185,
"g": 164,
"b": 46
},
"hsl": {
"h": 50.935,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.71664,
"c": 0.13345,
"h": 98.7
},
"luminance": 0.37062
}Semantic roles & 50–950 ramp
primary
#B9A42E
secondary
#7A86C9
accent
#5CE344
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B