#B9B82D#B9B82D
#B9B82D is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.152 H 109.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B82D |
|---|---|
| RGB | rgb(185, 184, 45) |
| HSL | hsl(60, 61%, 45%) |
| HSV | hsv(60, 76%, 73%) |
| CMYK | cmyk(0%, 0.5%, 75.7%, 27.5%) |
| CIE-LAB | lab(72.75, -15.43, 65.43) |
| CIE-LCH | lch(72.75, 67.23, 103.26°) |
| OKLab | oklab(75.98% -0.0496 0.1432) |
| OKLCH | oklch(75.98% 0.152 109.1) |
| XYZ | xyz(37.6232, 44.7859, 9.1448) |
| Luminance | 0.4479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.93
Olive Yellow
#C2B709
ΔE00 3.37
Mustard Green
#A8B504
ΔE00 3.69
Snot
#ACBB0D
ΔE00 3.75
Vomit Yellow
#C7C10C
ΔE00 3.85
Bile
#B5C306
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B82D #2D2EB9
analogous
#B9722D #B9B82D #74B92D
triadic
#B9B82D #2DB9B8 #B82DB9
tetradic
#B9B82D #2DB972 #2D2EB9 #B92D74
square
#B9B82D #2DB972 #2D2EB9 #B92D74
split-complementary
#B9B82D #2D74B9 #722DB9
monochromatic
#575615 #888721 #B9B82D #D4D34F #E0DF80
Accessibility & contrast
On white
2.11
#B9B82D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#B9B82D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B82D
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B82D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B82D | 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)
#C7B009
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b82d; /* rgb */ color: rgb(185, 184, 45); /* oklch */ color: oklch(76.0% 0.152 109.1);
Tailwind
colors: {
custom: {
50: '#d2cd71',
500: '#b9b82d',
950: '#000000',
},
}SCSS
$custom: #b9b82d; $custom-light: #d2cd71; $custom-dark: #000000;
JSON
{
"hex": "#b9b82d",
"rgb": {
"r": 185,
"g": 184,
"b": 45
},
"hsl": {
"h": 59.571,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.7598,
"c": 0.15154,
"h": 109.1
},
"luminance": 0.44785
}Semantic roles & 50–950 ramp
primary
#B9B82D
secondary
#7979C9
accent
#45E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B