#9D991F#9D991F
#9D991F is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.134 H 107.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9D991F |
|---|---|
| RGB | rgb(157, 153, 31) |
| HSL | hsl(58, 67%, 37%) |
| HSV | hsv(58, 80%, 62%) |
| CMYK | cmyk(0%, 2.5%, 80.3%, 38.4%) |
| CIE-LAB | lab(61.70, -12.24, 58.92) |
| CIE-LCH | lch(61.70, 60.18, 101.73°) |
| OKLab | oklab(66.56% -0.0404 0.1278) |
| OKLCH | oklch(66.56% 0.134 107.5) |
| XYZ | xyz(25.5442, 30.0504, 5.7508) |
| Luminance | 0.3005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.06
Baby Poop Green
#8F9805
ΔE00 3.58
Vomit
#A2A415
ΔE00 3.65
Puke
#A5A502
ΔE00 4.19
Baby Shit Green
#889717
ΔE00 5.25
Pea Soup Green
#94A617
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D991F #1F239D
analogous
#9D5A1F #9D991F #629D1F
triadic
#9D991F #1F9D99 #991F9D
tetradic
#9D991F #1F9D5A #1F239D #9D1F62
square
#9D991F #1F9D5A #1F239D #9D1F62
split-complementary
#9D991F #1F629D #5A1F9D
monochromatic
#37350B #6A6715 #9D991F #D0CB29 #DEDA58
Accessibility & contrast
On white
3.00
#9D991F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.01
#9D991F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D991F
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D991F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D991F | 1.00 | 3.00 | 7.01 | 7.01 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#A98E83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d991f; /* rgb */ color: rgb(157, 153, 31); /* oklch */ color: oklch(66.6% 0.134 107.5);
Tailwind
colors: {
custom: {
50: '#beb667',
500: '#9d991f',
950: '#000000',
},
}SCSS
$custom: #9d991f; $custom-light: #beb667; $custom-dark: #000000;
JSON
{
"hex": "#9d991f",
"rgb": {
"r": 157,
"g": 153,
"b": 31
},
"hsl": {
"h": 58.095,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.66562,
"c": 0.13406,
"h": 107.5
},
"luminance": 0.30049
}Semantic roles & 50–950 ramp
primary
#9D991F
secondary
#5659C2
accent
#43EA3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A