#9E981D#9E981D
#9E981D is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.134 H 106.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9E981D |
|---|---|
| RGB | rgb(158, 152, 29) |
| HSL | hsl(57, 69%, 37%) |
| HSV | hsv(57, 82%, 62%) |
| CMYK | cmyk(0%, 3.8%, 81.6%, 38%) |
| CIE-LAB | lab(61.49, -11.33, 59.36) |
| CIE-LCH | lch(61.49, 60.43, 100.80°) |
| OKLab | oklab(66.42% -0.0381 0.1283) |
| OKLCH | oklch(66.42% 0.134 106.5) |
| XYZ | xyz(25.5517, 29.8152, 5.5711) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.50
Baby Poop Green
#8F9805
ΔE00 4.03
Vomit
#A2A415
ΔE00 4.03
Puke
#A5A502
ΔE00 4.44
Baby Shit Green
#889717
ΔE00 5.74
Brown Yellow
#B29705
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E981D #1D239E
analogous
#9E581D #9E981D #649E1D
triadic
#9E981D #1D9E98 #981D9E
tetradic
#9E981D #1D9E58 #1D239E #9E1D64
square
#9E981D #1D9E58 #1D239E #9E1D64
split-complementary
#9E981D #1D649E #581D9E
monochromatic
#37350A #6A6614 #9E981D #D2CA26 #E0D956
Accessibility & contrast
On white
3.02
#9E981D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#9E981D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E981D
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E981D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E981D | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A89728
Tritanopia (blue-blind)
#AA8D82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9e981d; /* rgb */ color: rgb(158, 152, 29); /* oklch */ color: oklch(66.4% 0.134 106.5);
Tailwind
colors: {
custom: {
50: '#bfb666',
500: '#9e981d',
950: '#000000',
},
}SCSS
$custom: #9e981d; $custom-light: #bfb666; $custom-dark: #000000;
JSON
{
"hex": "#9e981d",
"rgb": {
"r": 158,
"g": 152,
"b": 29
},
"hsl": {
"h": 57.209,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.66418,
"c": 0.13388,
"h": 106.5
},
"luminance": 0.29814
}Semantic roles & 50–950 ramp
primary
#9E981D
secondary
#5459C3
accent
#44EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A