#9E9E2E#9E9E2E
#9E9E2E is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.9% C 0.130 H 109.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9E2E |
|---|---|
| RGB | rgb(158, 158, 46) |
| HSL | hsl(60, 55%, 40%) |
| HSV | hsv(60, 71%, 62%) |
| CMYK | cmyk(0%, 0%, 70.9%, 38%) |
| CIE-LAB | lab(63.28, -13.76, 55.32) |
| CIE-LCH | lch(63.28, 57.00, 103.96°) |
| OKLab | oklab(67.87% -0.0433 0.1229) |
| OKLCH | oklch(67.87% 0.13 109.4) |
| XYZ | xyz(26.8215, 31.9209, 7.3327) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.98
Pea Soup
#929901
ΔE00 3.45
Baby Poop Green
#8F9805
ΔE00 3.82
Puke
#A5A502
ΔE00 3.91
Pea Soup Green
#94A617
ΔE00 4.75
Baby Shit Green
#889717
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9E2E #2E2E9E
analogous
#9E662E #9E9E2E #669E2E
triadic
#9E9E2E #2E9E9E #9E2E9E
tetradic
#9E9E2E #2E9E66 #2E2E9E #9E2E66
square
#9E9E2E #2E9E66 #2E2E9E #9E2E66
split-complementary
#9E9E2E #2E669E #662E9E
monochromatic
#3F3F12 #6F6F20 #9E9E2E #C8C841 #D6D671
Accessibility & contrast
On white
2.84
#9E9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#9E9E2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9E2E
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9E2E | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#A99488
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9e9e2e; /* rgb */ color: rgb(158, 158, 46); /* oklch */ color: oklch(67.9% 0.130 109.4);
Tailwind
colors: {
custom: {
50: '#beba6e',
500: '#9e9e2e',
950: '#000000',
},
}SCSS
$custom: #9e9e2e; $custom-light: #beba6e; $custom-dark: #000000;
JSON
{
"hex": "#9e9e2e",
"rgb": {
"r": 158,
"g": 158,
"b": 46
},
"hsl": {
"h": 60,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.6787,
"c": 0.13035,
"h": 109.4
},
"luminance": 0.3192
}Semantic roles & 50–950 ramp
primary
#9E9E2E
secondary
#6B6BBD
accent
#4ADE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B