#B9B73E#B9B73E
#B9B73E is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.140 H 108.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B73E |
|---|---|
| RGB | rgb(185, 183, 62) |
| HSL | hsl(59, 50%, 48%) |
| HSV | hsv(59, 66%, 73%) |
| CMYK | cmyk(0%, 1.1%, 66.5%, 27.5%) |
| CIE-LAB | lab(72.58, -14.08, 59.13) |
| CIE-LCH | lch(72.58, 60.78, 103.40°) |
| OKLab | oklab(75.88% -0.0442 0.1329) |
| OKLCH | oklch(75.88% 0.14 108.4) |
| XYZ | xyz(37.8119, 44.5302, 11.1599) |
| Luminance | 0.4453 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.35
Olive Yellow
#C2B709
ΔE00 4.48
Mustard Green
#A8B504
ΔE00 4.58
Snot
#ACBB0D
ΔE00 4.72
Vomit Yellow
#C7C10C
ΔE00 5.12
Bile
#B5C306
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B73E #3E40B9
analogous
#B9793E #B9B73E #7DB93E
triadic
#B9B73E #3EB9B7 #B73EB9
tetradic
#B9B73E #3EB979 #3E40B9 #B93E7D
square
#B9B73E #3EB979 #3E40B9 #B93E7D
split-complementary
#B9B73E #3E7DB9 #793EB9
monochromatic
#5D5C1F #8B8A2F #B9B73E #CCCB68 #DCDB96
Accessibility & contrast
On white
2.12
#B9B73E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#B9B73E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B73E
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B73E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B73E | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B02D
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#C6AB9F
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #b9b73e; /* rgb */ color: rgb(185, 183, 62); /* oklch */ color: oklch(75.9% 0.140 108.4);
Tailwind
colors: {
custom: {
50: '#d1cc7a',
500: '#b9b73e',
950: '#000000',
},
}SCSS
$custom: #b9b73e; $custom-light: #d1cc7a; $custom-dark: #000000;
JSON
{
"hex": "#b9b73e",
"rgb": {
"r": 185,
"g": 183,
"b": 62
},
"hsl": {
"h": 59.024,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.75879,
"c": 0.14001,
"h": 108.4
},
"luminance": 0.44529
}Semantic roles & 50–950 ramp
primary
#B9B73E
secondary
#8C8DC7
accent
#51D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C