#9E9A2E#9E9A2E
#9E9A2E is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.0% C 0.126 H 107.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9A2E |
|---|---|
| RGB | rgb(158, 154, 46) |
| HSL | hsl(58, 55%, 40%) |
| HSV | hsv(58, 71%, 62%) |
| CMYK | cmyk(0%, 2.5%, 70.9%, 38%) |
| CIE-LAB | lab(62.15, -11.65, 54.21) |
| CIE-LCH | lch(62.15, 55.45, 102.13°) |
| OKLab | oklab(66.97% -0.0374 0.1206) |
| OKLCH | oklch(66.97% 0.126 107.3) |
| XYZ | xyz(26.1503, 30.5784, 7.1090) |
| Luminance | 0.3058 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.81
Vomit
#A2A415
ΔE00 4.06
Baby Poop Green
#8F9805
ΔE00 4.17
Puke
#A5A502
ΔE00 4.78
Baby Shit Green
#889717
ΔE00 5.38
Pea Soup Green
#94A617
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9A2E #2E329E
analogous
#9E622E #9E9A2E #6A9E2E
triadic
#9E9A2E #2E9E9A #9A2E9E
tetradic
#9E9A2E #2E9E62 #2E329E #9E2E6A
square
#9E9A2E #2E9E62 #2E329E #9E2E6A
split-complementary
#9E9A2E #2E6A9E #622E9E
monochromatic
#3F3E12 #6F6C20 #9E9A2E #C8C341 #D6D271
Accessibility & contrast
On white
2.95
#9E9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#9E9A2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9A2E
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9A2E | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#AA9085
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9e9a2e; /* rgb */ color: rgb(158, 154, 46); /* oklch */ color: oklch(67.0% 0.126 107.3);
Tailwind
colors: {
custom: {
50: '#beb76e',
500: '#9e9a2e',
950: '#000000',
},
}SCSS
$custom: #9e9a2e; $custom-light: #beb76e; $custom-dark: #000000;
JSON
{
"hex": "#9e9a2e",
"rgb": {
"r": 158,
"g": 154,
"b": 46
},
"hsl": {
"h": 57.857,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.6697,
"c": 0.12627,
"h": 107.3
},
"luminance": 0.30578
}Semantic roles & 50–950 ramp
primary
#9E9A2E
secondary
#6B6EBD
accent
#4FDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B