#9D9E2E#9D9E2E
#9D9E2E is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.131 H 109.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9E2E |
|---|---|
| RGB | rgb(157, 158, 46) |
| HSL | hsl(61, 55%, 40%) |
| HSV | hsv(61, 71%, 62%) |
| CMYK | cmyk(0.6%, 0%, 70.9%, 38%) |
| CIE-LAB | lab(63.19, -14.19, 55.20) |
| CIE-LCH | lch(63.19, 57.00, 104.42°) |
| OKLab | oklab(67.78% -0.0445 0.1227) |
| OKLCH | oklch(67.78% 0.131 109.9) |
| XYZ | xyz(26.6255, 31.8198, 7.3235) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.03
Pea Soup
#929901
ΔE00 3.33
Baby Poop Green
#8F9805
ΔE00 3.66
Puke
#A5A502
ΔE00 4.01
Pea Soup Green
#94A617
ΔE00 4.55
Baby Shit Green
#889717
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9E2E #2F2E9E
analogous
#9E672E #9D9E2E #659E2E
triadic
#9D9E2E #2E9D9E #9E2E9D
tetradic
#9D9E2E #2E9E67 #2F2E9E #9E2E65
square
#9D9E2E #2E9E67 #2F2E9E #9E2E65
split-complementary
#9D9E2E #2E659E #672E9E
monochromatic
#3F3F12 #6E6F20 #9D9E2E #C7C841 #D5D671
Accessibility & contrast
On white
2.85
#9D9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#9D9E2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9E2E
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9E2E | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#A89488
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9d9e2e; /* rgb */ color: rgb(157, 158, 46); /* oklch */ color: oklch(67.8% 0.131 109.9);
Tailwind
colors: {
custom: {
50: '#bdba6e',
500: '#9d9e2e',
950: '#000000',
},
}SCSS
$custom: #9d9e2e; $custom-light: #bdba6e; $custom-dark: #000000;
JSON
{
"hex": "#9d9e2e",
"rgb": {
"r": 157,
"g": 158,
"b": 46
},
"hsl": {
"h": 60.536,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.67783,
"c": 0.13056,
"h": 109.9
},
"luminance": 0.31819
}Semantic roles & 50–950 ramp
primary
#9D9E2E
secondary
#6B6BBD
accent
#4ADE4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B