#9EA822#9EA822
#9EA822 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.148 H 114.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA822 |
|---|---|
| RGB | rgb(158, 168, 34) |
| HSL | hsl(64, 66%, 40%) |
| HSV | hsv(64, 80%, 66%) |
| CMYK | cmyk(6%, 0%, 79.8%, 34.1%) |
| CIE-LAB | lab(66.05, -19.43, 61.93) |
| CIE-LCH | lch(66.05, 64.91, 107.42°) |
| OKLab | oklab(70.07% -0.0602 0.1348) |
| OKLCH | oklch(70.07% 0.148 114.1) |
| XYZ | xyz(28.3928, 35.3904, 6.8484) |
| Luminance | 0.3539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.09
Vomit
#A2A415
ΔE00 2.36
Puke Green
#9AAE07
ΔE00 2.70
Barf Green
#94AC02
ΔE00 3.13
Puke
#A5A502
ΔE00 3.19
Pea Green
#8EAB12
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA822 #2C22A8
analogous
#A86F22 #9EA822 #5BA822
triadic
#9EA822 #229EA8 #A8229E
tetradic
#9EA822 #22A86F #2C22A8 #A8225B
square
#9EA822 #22A86F #2C22A8 #A8225B
split-complementary
#9EA822 #225BA8 #6F22A8
monochromatic
#3E420D #6E7518 #9EA822 #C9D532 #D7E065
Accessibility & contrast
On white
2.60
#9EA822 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#9EA822 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA822
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA822 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A22F
Tritanopia (blue-blind)
#A99E90
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9ea822; /* rgb */ color: rgb(158, 168, 34); /* oklch */ color: oklch(70.1% 0.148 114.1);
Tailwind
colors: {
custom: {
50: '#bec16a',
500: '#9ea822',
950: '#000000',
},
}SCSS
$custom: #9ea822; $custom-light: #bec16a; $custom-dark: #000000;
JSON
{
"hex": "#9ea822",
"rgb": {
"r": 158,
"g": 168,
"b": 34
},
"hsl": {
"h": 64.478,
"s": 66.337,
"l": 39.608
},
"oklch": {
"l": 0.70069,
"c": 0.14761,
"h": 114.1
},
"luminance": 0.3539
}Semantic roles & 50–950 ramp
primary
#9EA822
secondary
#6861C5
accent
#3FE94B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A