#8EB42C#8EB42C
#8EB42C is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.7% C 0.163 H 124.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8EB42C |
|---|---|
| RGB | rgb(142, 180, 44) |
| HSL | hsl(77, 61%, 44%) |
| HSV | hsv(77, 76%, 71%) |
| CMYK | cmyk(21.1%, 0%, 75.6%, 29.4%) |
| CIE-LAB | lab(68.44, -31.55, 60.60) |
| CIE-LCH | lch(68.44, 68.32, 117.51°) |
| OKLab | oklab(71.72% -0.0918 0.1342) |
| OKLCH | oklch(71.72% 0.163 124.4) |
| XYZ | xyz(27.9315, 38.5749, 8.3565) |
| Luminance | 0.3857 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado (survey)
#90B134
ΔE00 1.28
Icky Green
#8FAE22
ΔE00 2.09
Sickly Green
#94B21C
ΔE00 2.28
Booger
#9BB53C
ΔE00 2.52
Dark Lime
#84B701
ΔE00 2.61
Sick Green
#9DB92C
ΔE00 2.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8EB42C #522CB4
analogous
#B4962C #8EB42C #4AB42C
triadic
#8EB42C #2C8EB4 #B42C8E
tetradic
#8EB42C #2CB496 #522CB4 #B42C4A
square
#8EB42C #2CB496 #522CB4 #B42C4A
split-complementary
#8EB42C #2C4AB4 #962CB4
monochromatic
#405214 #678320 #8EB42C #ADD34A #C3DF7C
Accessibility & contrast
On white
2.41
#8EB42C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#8EB42C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8EB42C
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8EB42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8EB42C | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA80B
Deuteranopia (green-blind)
#B9A739
Tritanopia (blue-blind)
#95AB9A
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #8eb42c; /* rgb */ color: rgb(142, 180, 44); /* oklch */ color: oklch(71.7% 0.163 124.4);
Tailwind
colors: {
custom: {
50: '#b3ca70',
500: '#8eb42c',
950: '#000000',
},
}SCSS
$custom: #8eb42c; $custom-light: #b3ca70; $custom-dark: #000000;
JSON
{
"hex": "#8eb42c",
"rgb": {
"r": 142,
"g": 180,
"b": 44
},
"hsl": {
"h": 76.765,
"s": 60.714,
"l": 43.922
},
"oklch": {
"l": 0.71723,
"c": 0.16261,
"h": 124.4
},
"luminance": 0.38575
}Semantic roles & 50–950 ramp
primary
#8EB42C
secondary
#8C75C7
accent
#44E471
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B