#7FAB2E#7FAB2E
#7FAB2E is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.6% C 0.158 H 127.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7FAB2E |
|---|---|
| RGB | rgb(127, 171, 46) |
| HSL | hsl(81, 58%, 43%) |
| HSV | hsv(81, 73%, 67%) |
| CMYK | cmyk(25.7%, 0%, 73.1%, 32.9%) |
| CIE-LAB | lab(64.83, -33.22, 56.09) |
| CIE-LCH | lch(64.83, 65.19, 120.64°) |
| OKLab | oklab(68.56% -0.0954 0.1254) |
| OKLCH | oklch(68.56% 0.158 127.2) |
| XYZ | xyz(23.8085, 33.8346, 7.8606) |
| Luminance | 0.3383 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado Green
#87A922
ΔE00 2.49
Leaf
#71AA34
ΔE00 2.85
Avocado (survey)
#90B134
ΔE00 3.18
Icky Green
#8FAE22
ΔE00 3.72
Pea Green
#8EAB12
ΔE00 4.41
Nasty Green
#70B23F
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FAB2E #5A2EAB
analogous
#AB992E #7FAB2E #40AB2E
triadic
#7FAB2E #2E7FAB #AB2E7F
tetradic
#7FAB2E #2EAB99 #5A2EAB #AB2E40
square
#7FAB2E #2EAB99 #5A2EAB #AB2E40
split-complementary
#7FAB2E #2E40AB #992EAB
monochromatic
#374B14 #5B7B21 #7FAB2E #9FCE48 #B8DB79
Accessibility & contrast
On white
2.70
#7FAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#7FAB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FAB2E
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FAB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FAB2E | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F17
Deuteranopia (green-blind)
#AE9C39
Tritanopia (blue-blind)
#84A393
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #7fab2e; /* rgb */ color: rgb(127, 171, 46); /* oklch */ color: oklch(68.6% 0.158 127.2);
Tailwind
colors: {
custom: {
50: '#a8c46f',
500: '#7fab2e',
950: '#000000',
},
}SCSS
$custom: #7fab2e; $custom-light: #a8c46f; $custom-dark: #000000;
JSON
{
"hex": "#7fab2e",
"rgb": {
"r": 127,
"g": 171,
"b": 46
},
"hsl": {
"h": 81.12,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.68556,
"c": 0.15755,
"h": 127.2
},
"luminance": 0.33835
}Semantic roles & 50–950 ramp
primary
#7FAB2E
secondary
#8E72C3
accent
#47E17D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B