#9E9E2F#9E9E2F
#9E9E2F 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.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9E2F |
|---|---|
| RGB | rgb(158, 158, 47) |
| HSL | hsl(60, 54%, 40%) |
| HSV | hsv(60, 70%, 62%) |
| CMYK | cmyk(0%, 0%, 70.3%, 38%) |
| CIE-LAB | lab(63.28, -13.70, 54.94) |
| CIE-LCH | lch(63.28, 56.62, 104.00°) |
| OKLab | oklab(67.88% -0.0431 0.1223) |
| OKLCH | oklch(67.88% 0.13 109.4) |
| XYZ | xyz(26.8414, 31.9288, 7.4377) |
| Luminance | 0.3193 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.07
Pea Soup
#929901
ΔE00 3.52
Baby Poop Green
#8F9805
ΔE00 3.87
Puke
#A5A502
ΔE00 4.00
Pea Soup Green
#94A617
ΔE00 4.79
Baby Shit Green
#889717
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9E2F #2F2F9E
analogous
#9E662F #9E9E2F #669E2F
triadic
#9E9E2F #2F9E9E #9E2F9E
tetradic
#9E9E2F #2F9E66 #2F2F9E #9E2F66
square
#9E9E2F #2F9E66 #2F2F9E #9E2F66
split-complementary
#9E9E2F #2F669E #662F9E
monochromatic
#404013 #6F6F21 #9E9E2F #C7C743 #D5D572
Accessibility & contrast
On white
2.84
#9E9E2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#9E9E2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9E2F
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9E2F | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB971D
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#A99488
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9e9e2f; /* rgb */ color: rgb(158, 158, 47); /* oklch */ color: oklch(67.9% 0.130 109.4);
Tailwind
colors: {
custom: {
50: '#beba6f',
500: '#9e9e2f',
950: '#000000',
},
}SCSS
$custom: #9e9e2f; $custom-light: #beba6f; $custom-dark: #000000;
JSON
{
"hex": "#9e9e2f",
"rgb": {
"r": 158,
"g": 158,
"b": 47
},
"hsl": {
"h": 60,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.67877,
"c": 0.12968,
"h": 109.4
},
"luminance": 0.31928
}Semantic roles & 50–950 ramp
primary
#9E9E2F
secondary
#6C6CBD
accent
#4ADE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B