#9E982A#9E982A
#9E982A is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.127 H 106.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9E982A |
|---|---|
| RGB | rgb(158, 152, 42) |
| HSL | hsl(57, 58%, 39%) |
| HSV | hsv(57, 73%, 62%) |
| CMYK | cmyk(0%, 3.8%, 73.4%, 38%) |
| CIE-LAB | lab(61.56, -10.80, 55.15) |
| CIE-LCH | lch(61.56, 56.20, 101.08°) |
| OKLab | oklab(66.49% -0.0354 0.1219) |
| OKLCH | oklch(66.49% 0.127 106.2) |
| XYZ | xyz(25.7477, 29.8937, 6.6038) |
| Luminance | 0.2989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.97
Baby Poop Green
#8F9805
ΔE00 4.35
Vomit
#A2A415
ΔE00 4.48
Puke
#A5A502
ΔE00 5.06
Baby Shit Green
#889717
ΔE00 5.70
Brown Yellow
#B29705
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E982A #2A309E
analogous
#9E5E2A #9E982A #6A9E2A
triadic
#9E982A #2A9E98 #982A9E
tetradic
#9E982A #2A9E5E #2A309E #9E2A6A
square
#9E982A #2A9E5E #2A309E #9E2A6A
split-complementary
#9E982A #2A6A9E #5E2A9E
monochromatic
#3D3B10 #6E691D #9E982A #CBC33A #D8D26B
Accessibility & contrast
On white
3.01
#9E982A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#9E982A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E982A
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E982A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E982A | 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)
#A59216
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#AA8E83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9e982a; /* rgb */ color: rgb(158, 152, 42); /* oklch */ color: oklch(66.5% 0.127 106.2);
Tailwind
colors: {
custom: {
50: '#beb66c',
500: '#9e982a',
950: '#000000',
},
}SCSS
$custom: #9e982a; $custom-light: #beb66c; $custom-dark: #000000;
JSON
{
"hex": "#9e982a",
"rgb": {
"r": 158,
"g": 152,
"b": 42
},
"hsl": {
"h": 56.897,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.66494,
"c": 0.1269,
"h": 106.2
},
"luminance": 0.29893
}Semantic roles & 50–950 ramp
primary
#9E982A
secondary
#666ABE
accent
#4FE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A