#B9B72D#B9B72D
#B9B72D is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.151 H 108.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B72D |
|---|---|
| RGB | rgb(185, 183, 45) |
| HSL | hsl(59, 61%, 45%) |
| HSV | hsv(59, 76%, 73%) |
| CMYK | cmyk(0%, 1.1%, 75.7%, 27.5%) |
| CIE-LAB | lab(72.48, -14.92, 65.18) |
| CIE-LCH | lch(72.48, 66.87, 102.89°) |
| OKLab | oklab(75.76% -0.0482 0.1427) |
| OKLCH | oklch(75.76% 0.151 108.7) |
| XYZ | xyz(37.4162, 44.3719, 9.0758) |
| Luminance | 0.4437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.03
Olive Yellow
#C2B709
ΔE00 3.23
Mustard Green
#A8B504
ΔE00 3.83
Vomit Yellow
#C7C10C
ΔE00 3.95
Snot
#ACBB0D
ΔE00 4.00
Bile
#B5C306
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B72D #2D2FB9
analogous
#B9712D #B9B72D #75B92D
triadic
#B9B72D #2DB9B7 #B72DB9
tetradic
#B9B72D #2DB971 #2D2FB9 #B92D75
square
#B9B72D #2DB971 #2D2FB9 #B92D75
split-complementary
#B9B72D #2D75B9 #712DB9
monochromatic
#575615 #888621 #B9B72D #D4D24F #E0DF80
Accessibility & contrast
On white
2.13
#B9B72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#B9B72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B72D
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B72D | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0A
Deuteranopia (green-blind)
#C8B438
Tritanopia (blue-blind)
#C7AB9D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b72d; /* rgb */ color: rgb(185, 183, 45); /* oklch */ color: oklch(75.8% 0.151 108.7);
Tailwind
colors: {
custom: {
50: '#d2cc71',
500: '#b9b72d',
950: '#000000',
},
}SCSS
$custom: #b9b72d; $custom-light: #d2cc71; $custom-dark: #000000;
JSON
{
"hex": "#b9b72d",
"rgb": {
"r": 185,
"g": 183,
"b": 45
},
"hsl": {
"h": 59.143,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.75761,
"c": 0.15057,
"h": 108.7
},
"luminance": 0.44371
}Semantic roles & 50–950 ramp
primary
#B9B72D
secondary
#797AC9
accent
#46E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B