#9EA12A#9EA12A
#9EA12A is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.136 H 111.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA12A |
|---|---|
| RGB | rgb(158, 161, 42) |
| HSL | hsl(62, 59%, 40%) |
| HSV | hsv(62, 74%, 63%) |
| CMYK | cmyk(1.9%, 0%, 73.9%, 36.9%) |
| CIE-LAB | lab(64.10, -15.51, 57.57) |
| CIE-LCH | lch(64.10, 59.62, 105.08°) |
| OKLab | oklab(68.52% -0.0486 0.127) |
| OKLCH | oklch(68.52% 0.136 111) |
| XYZ | xyz(27.2643, 32.9267, 7.1093) |
| Luminance | 0.3293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.14
Puke
#A5A502
ΔE00 3.21
Pea Soup
#929901
ΔE00 3.38
Pea Soup Green
#94A617
ΔE00 3.69
Baby Poop Green
#8F9805
ΔE00 3.79
Baby Shit Green
#889717
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA12A #2D2AA1
analogous
#A1692A #9EA12A #62A12A
triadic
#9EA12A #2A9EA1 #A12A9E
tetradic
#9EA12A #2AA169 #2D2AA1 #A12A62
square
#9EA12A #2AA169 #2D2AA1 #A12A62
split-complementary
#9EA12A #2A62A1 #692AA1
monochromatic
#3F4011 #6E701D #9EA12A #C9CC3C #D6D96D
Accessibility & contrast
On white
2.77
#9EA12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#9EA12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA12A
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA12A | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A9978A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9ea12a; /* rgb */ color: rgb(158, 161, 42); /* oklch */ color: oklch(68.5% 0.136 111.0);
Tailwind
colors: {
custom: {
50: '#bebc6d',
500: '#9ea12a',
950: '#000000',
},
}SCSS
$custom: #9ea12a; $custom-light: #bebc6d; $custom-dark: #000000;
JSON
{
"hex": "#9ea12a",
"rgb": {
"r": 158,
"g": 161,
"b": 42
},
"hsl": {
"h": 61.513,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.68521,
"c": 0.13597,
"h": 111
},
"luminance": 0.32926
}Semantic roles & 50–950 ramp
primary
#9EA12A
secondary
#6967C0
accent
#46E24A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A