#9EB227#9EB227
#9EB227 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.4% C 0.156 H 117.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9EB227 |
|---|---|
| RGB | rgb(158, 178, 39) |
| HSL | hsl(69, 64%, 43%) |
| HSV | hsv(69, 78%, 70%) |
| CMYK | cmyk(11.2%, 0%, 78.1%, 30.2%) |
| CIE-LAB | lab(68.94, -24.21, 63.04) |
| CIE-LCH | lch(68.94, 67.53, 111.01°) |
| OKLab | oklab(72.4% -0.073 0.138) |
| OKLCH | oklch(72.4% 0.156 117.9) |
| XYZ | xyz(30.3879, 39.2567, 7.8955) |
| Luminance | 0.3926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.84
Sickly Green
#94B21C
ΔE00 2.05
Booger Green
#96B403
ΔE00 2.26
Sick Green
#9DB92C
ΔE00 2.28
Barf Green
#94AC02
ΔE00 2.42
Booger
#9BB53C
ΔE00 2.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EB227 #3B27B2
analogous
#B28027 #9EB227 #59B227
triadic
#9EB227 #279EB2 #B2279E
tetradic
#9EB227 #27B280 #3B27B2 #B22759
square
#9EB227 #27B280 #3B27B2 #B22759
split-complementary
#9EB227 #2759B2 #8027B2
monochromatic
#454E11 #71801C #9EB227 #C0D541 #D1E073
Accessibility & contrast
On white
2.37
#9EB227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#9EB227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EB227
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EB227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EB227 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#A8A898
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #9eb227; /* rgb */ color: rgb(158, 178, 39); /* oklch */ color: oklch(72.4% 0.156 117.9);
Tailwind
colors: {
custom: {
50: '#bec96d',
500: '#9eb227',
950: '#000000',
},
}SCSS
$custom: #9eb227; $custom-light: #bec96d; $custom-dark: #000000;
JSON
{
"hex": "#9eb227",
"rgb": {
"r": 158,
"g": 178,
"b": 39
},
"hsl": {
"h": 68.633,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.72395,
"c": 0.15615,
"h": 117.9
},
"luminance": 0.39256
}Semantic roles & 50–950 ramp
primary
#9EB227
secondary
#7A6DC8
accent
#41E759
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A