#B9B82E#B9B82E
#B9B82E is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.151 H 109.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B82E |
|---|---|
| RGB | rgb(185, 184, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 73%) |
| CMYK | cmyk(0%, 0.5%, 75.1%, 27.5%) |
| CIE-LAB | lab(72.76, -15.38, 65.11) |
| CIE-LCH | lch(72.76, 66.91, 103.29°) |
| OKLab | oklab(75.99% -0.0494 0.1427) |
| OKLCH | oklch(75.99% 0.151 109.1) |
| XYZ | xyz(37.6426, 44.7937, 9.2474) |
| Luminance | 0.4479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.99
Olive Yellow
#C2B709
ΔE00 3.43
Mustard Green
#A8B504
ΔE00 3.72
Snot
#ACBB0D
ΔE00 3.77
Vomit Yellow
#C7C10C
ΔE00 3.91
Bile
#B5C306
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B82E #2E2FB9
analogous
#B9722E #B9B82E #75B92E
triadic
#B9B82E #2EB9B8 #B82EB9
tetradic
#B9B82E #2EB972 #2E2FB9 #B92E75
square
#B9B82E #2EB972 #2E2FB9 #B92E75
split-complementary
#B9B82E #2E75B9 #722EB9
monochromatic
#575716 #888722 #B9B82E #D4D351 #E0DF82
Accessibility & contrast
On white
2.11
#B9B82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#B9B82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B82E
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B82E | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00C
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b82e; /* rgb */ color: rgb(185, 184, 46); /* oklch */ color: oklch(76.0% 0.151 109.1);
Tailwind
colors: {
custom: {
50: '#d2cd72',
500: '#b9b82e',
950: '#000000',
},
}SCSS
$custom: #b9b82e; $custom-light: #d2cd72; $custom-dark: #000000;
JSON
{
"hex": "#b9b82e",
"rgb": {
"r": 185,
"g": 184,
"b": 46
},
"hsl": {
"h": 59.568,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.75986,
"c": 0.15101,
"h": 109.1
},
"luminance": 0.44793
}Semantic roles & 50–950 ramp
primary
#B9B82E
secondary
#7A7BC9
accent
#46E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B