#9E982D#9E982D
#9E982D is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.125 H 106.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9E982D |
|---|---|
| RGB | rgb(158, 152, 45) |
| HSL | hsl(57, 56%, 40%) |
| HSV | hsv(57, 72%, 62%) |
| CMYK | cmyk(0%, 3.8%, 71.5%, 38%) |
| CIE-LAB | lab(61.58, -10.65, 54.03) |
| CIE-LCH | lch(61.58, 55.07, 101.15°) |
| OKLab | oklab(66.52% -0.0347 0.1201) |
| OKLCH | oklch(66.52% 0.125 106.1) |
| XYZ | xyz(25.8035, 29.9160, 6.8973) |
| Luminance | 0.2992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.15
Baby Poop Green
#8F9805
ΔE00 4.49
Vomit
#A2A415
ΔE00 4.65
Puke
#A5A502
ΔE00 5.27
Baby Shit Green
#889717
ΔE00 5.74
Baby Poo
#AB9004
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E982D #2D339E
analogous
#9E5F2D #9E982D #6C9E2D
triadic
#9E982D #2D9E98 #982D9E
tetradic
#9E982D #2D9E5F #2D339E #9E2D6C
square
#9E982D #2D9E5F #2D339E #9E2D6C
split-complementary
#9E982D #2D6C9E #5F2D9E
monochromatic
#3F3C12 #6E6A1F #9E982D #C9C140 #D6D16F
Accessibility & contrast
On white
3.01
#9E982D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#9E982D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E982D
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E982D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E982D | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9e982d; /* rgb */ color: rgb(158, 152, 45); /* oklch */ color: oklch(66.5% 0.125 106.1);
Tailwind
colors: {
custom: {
50: '#beb66d',
500: '#9e982d',
950: '#000000',
},
}SCSS
$custom: #9e982d; $custom-light: #beb66d; $custom-dark: #000000;
JSON
{
"hex": "#9e982d",
"rgb": {
"r": 158,
"g": 152,
"b": 45
},
"hsl": {
"h": 56.814,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.66515,
"c": 0.12497,
"h": 106.1
},
"luminance": 0.29915
}Semantic roles & 50–950 ramp
primary
#9E982D
secondary
#696EBD
accent
#51DF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A