#9E971D#9E971D
#9E971D is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.133 H 106.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9E971D |
|---|---|
| RGB | rgb(158, 151, 29) |
| HSL | hsl(57, 69%, 37%) |
| HSV | hsv(57, 82%, 62%) |
| CMYK | cmyk(0%, 4.4%, 81.6%, 38%) |
| CIE-LAB | lab(61.21, -10.80, 59.12) |
| CIE-LCH | lch(61.21, 60.10, 100.35°) |
| OKLab | oklab(66.19% -0.0366 0.1278) |
| OKLCH | oklch(66.19% 0.133 106) |
| XYZ | xyz(25.3900, 29.4920, 5.5173) |
| Luminance | 0.2949 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.76
Baby Poop Green
#8F9805
ΔE00 4.26
Vomit
#A2A415
ΔE00 4.40
Puke
#A5A502
ΔE00 4.78
Baby Shit Green
#889717
ΔE00 5.94
Baby Poo
#AB9004
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E971D #1D249E
analogous
#9E571D #9E971D #659E1D
triadic
#9E971D #1D9E97 #971D9E
tetradic
#9E971D #1D9E57 #1D249E #9E1D65
square
#9E971D #1D9E57 #1D249E #9E1D65
split-complementary
#9E971D #1D659E #571D9E
monochromatic
#37340A #6A6614 #9E971D #D2C826 #E0D856
Accessibility & contrast
On white
3.04
#9E971D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#9E971D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E971D
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E971D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E971D | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9e971d; /* rgb */ color: rgb(158, 151, 29); /* oklch */ color: oklch(66.2% 0.133 106.0);
Tailwind
colors: {
custom: {
50: '#bfb566',
500: '#9e971d',
950: '#000000',
},
}SCSS
$custom: #9e971d; $custom-light: #bfb566; $custom-dark: #000000;
JSON
{
"hex": "#9e971d",
"rgb": {
"r": 158,
"g": 151,
"b": 29
},
"hsl": {
"h": 56.744,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.66194,
"c": 0.13295,
"h": 106
},
"luminance": 0.29491
}Semantic roles & 50–950 ramp
primary
#9E971D
secondary
#545AC3
accent
#46EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A