#9D992B#9D992B
#9D992B is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.6% C 0.127 H 107.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9D992B |
|---|---|
| RGB | rgb(157, 153, 43) |
| HSL | hsl(58, 57%, 39%) |
| HSV | hsv(58, 73%, 62%) |
| CMYK | cmyk(0%, 2.5%, 72.6%, 38.4%) |
| CIE-LAB | lab(61.76, -11.72, 54.94) |
| CIE-LCH | lch(61.76, 56.18, 102.05°) |
| OKLab | oklab(66.63% -0.0379 0.1216) |
| OKLCH | oklch(66.63% 0.127 107.3) |
| XYZ | xyz(25.7329, 30.1259, 6.7444) |
| Luminance | 0.3013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.60
Baby Poop Green
#8F9805
ΔE00 3.95
Vomit
#A2A415
ΔE00 4.16
Puke
#A5A502
ΔE00 4.85
Baby Shit Green
#889717
ΔE00 5.24
Pea Soup Green
#94A617
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D992B #2B2F9D
analogous
#9D602B #9D992B #689D2B
triadic
#9D992B #2B9D99 #992B9D
tetradic
#9D992B #2B9D60 #2B2F9D #9D2B68
square
#9D992B #2B9D60 #2B2F9D #9D2B68
split-complementary
#9D992B #2B689D #602B9D
monochromatic
#3D3B11 #6D6A1E #9D992B #CAC53C #D7D36C
Accessibility & contrast
On white
2.99
#9D992B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#9D992B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D992B
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D992B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D992B | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#A98F84
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d992b; /* rgb */ color: rgb(157, 153, 43); /* oklch */ color: oklch(66.6% 0.127 107.3);
Tailwind
colors: {
custom: {
50: '#bdb66c',
500: '#9d992b',
950: '#000000',
},
}SCSS
$custom: #9d992b; $custom-light: #bdb66c; $custom-dark: #000000;
JSON
{
"hex": "#9d992b",
"rgb": {
"r": 157,
"g": 153,
"b": 43
},
"hsl": {
"h": 57.895,
"s": 57,
"l": 39.216
},
"oklch": {
"l": 0.66634,
"c": 0.1274,
"h": 107.3
},
"luminance": 0.30125
}Semantic roles & 50–950 ramp
primary
#9D992B
secondary
#6669BD
accent
#4DE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A