#7FB42E#7FB42E
#7FB42E is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.8% C 0.169 H 129.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7FB42E |
|---|---|
| RGB | rgb(127, 180, 46) |
| HSL | hsl(84, 59%, 44%) |
| HSV | hsv(84, 74%, 71%) |
| CMYK | cmyk(29.4%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(67.54, -37.32, 58.74) |
| CIE-LCH | lch(67.54, 69.59, 122.43°) |
| OKLab | oklab(70.76% -0.1065 0.131) |
| OKLCH | oklch(70.76% 0.169 129.1) |
| XYZ | xyz(25.5667, 37.3511, 8.4467) |
| Luminance | 0.3735 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Lime
#84B701
ΔE00 3.12
Avocado (survey)
#90B134
ΔE00 3.44
Dark Lime Green
#7EBD01
ΔE00 3.54
Nasty Green
#70B23F
ΔE00 3.74
Leaf
#71AA34
ΔE00 3.76
Avocado Green
#87A922
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FB42E #632EB4
analogous
#B4A62E #7FB42E #3CB42E
triadic
#7FB42E #2E7FB4 #B42E7F
tetradic
#7FB42E #2EB4A6 #632EB4 #B42E3C
square
#7FB42E #2EB4A6 #632EB4 #B42E3C
split-complementary
#7FB42E #2E3CB4 #A62EB4
monochromatic
#3A5315 #5D8322 #7FB42E #9DD24E #B8DE7E
Accessibility & contrast
On white
2.48
#7FB42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#7FB42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FB42E
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FB42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FB42E | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA712
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#83AC9A
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #7fb42e; /* rgb */ color: rgb(127, 180, 46); /* oklch */ color: oklch(70.8% 0.169 129.1);
Tailwind
colors: {
custom: {
50: '#a8ca70',
500: '#7fb42e',
950: '#000000',
},
}SCSS
$custom: #7fb42e; $custom-light: #a8ca70; $custom-dark: #000000;
JSON
{
"hex": "#7fb42e",
"rgb": {
"r": 127,
"g": 180,
"b": 46
},
"hsl": {
"h": 83.731,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.70756,
"c": 0.16882,
"h": 129.1
},
"luminance": 0.37352
}Semantic roles & 50–950 ramp
primary
#7FB42E
secondary
#9777C7
accent
#45E283
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B