#B9B72E#B9B72E
#B9B72E is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.150 H 108.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B72E |
|---|---|
| RGB | rgb(185, 183, 46) |
| HSL | hsl(59, 60%, 45%) |
| HSV | hsv(59, 75%, 73%) |
| CMYK | cmyk(0%, 1.1%, 75.1%, 27.5%) |
| CIE-LAB | lab(72.48, -14.88, 64.86) |
| CIE-LCH | lch(72.48, 66.55, 102.92°) |
| OKLab | oklab(75.77% -0.048 0.1422) |
| OKLCH | oklch(75.77% 0.15 108.6) |
| XYZ | xyz(37.4356, 44.3797, 9.1784) |
| Luminance | 0.4438 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.09
Olive Yellow
#C2B709
ΔE00 3.29
Mustard Green
#A8B504
ΔE00 3.86
Vomit Yellow
#C7C10C
ΔE00 4.01
Snot
#ACBB0D
ΔE00 4.02
Bile
#B5C306
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B72E #2E30B9
analogous
#B9722E #B9B72E #75B92E
triadic
#B9B72E #2EB9B7 #B72EB9
tetradic
#B9B72E #2EB972 #2E30B9 #B92E75
square
#B9B72E #2EB972 #2E30B9 #B92E75
split-complementary
#B9B72E #2E75B9 #722EB9
monochromatic
#575616 #888722 #B9B72E #D4D251 #E0DE82
Accessibility & contrast
On white
2.13
#B9B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#B9B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B72E
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B72E | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#C6AB9D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b72e; /* rgb */ color: rgb(185, 183, 46); /* oklch */ color: oklch(75.8% 0.150 108.6);
Tailwind
colors: {
custom: {
50: '#d2cc72',
500: '#b9b72e',
950: '#000000',
},
}SCSS
$custom: #b9b72e; $custom-light: #d2cc72; $custom-dark: #000000;
JSON
{
"hex": "#b9b72e",
"rgb": {
"r": 185,
"g": 183,
"b": 46
},
"hsl": {
"h": 59.137,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.75767,
"c": 0.15004,
"h": 108.6
},
"luminance": 0.44379
}Semantic roles & 50–950 ramp
primary
#B9B72E
secondary
#7A7BC9
accent
#47E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B