#7FB02A#7FB02A
#7FB02A is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.8% C 0.166 H 128.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7FB02A |
|---|---|
| RGB | rgb(127, 176, 42) |
| HSL | hsl(82, 61%, 43%) |
| HSV | hsv(82, 76%, 69%) |
| CMYK | cmyk(27.8%, 0%, 76.1%, 31%) |
| CIE-LAB | lab(66.31, -35.74, 58.91) |
| CIE-LCH | lch(66.31, 68.90, 121.25°) |
| OKLab | oklab(69.75% -0.1025 0.1307) |
| OKLCH | oklch(69.75% 0.166 128.1) |
| XYZ | xyz(24.6957, 35.7293, 7.7854) |
| Luminance | 0.3573 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado (survey)
#90B134
ΔE00 3.00
Avocado Green
#87A922
ΔE00 3.16
Dark Lime
#84B701
ΔE00 3.28
Leaf
#71AA34
ΔE00 3.37
Icky Green
#8FAE22
ΔE00 3.70
Nasty Green
#70B23F
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FB02A #5B2AB0
analogous
#B09E2A #7FB02A #3CB02A
triadic
#7FB02A #2A7FB0 #B02A7F
tetradic
#7FB02A #2AB09E #5B2AB0 #B02A3C
square
#7FB02A #2AB09E #5B2AB0 #B02A3C
split-complementary
#7FB02A #2A3CB0 #9E2AB0
monochromatic
#384D12 #5B7F1E #7FB02A #9FD345 #B8DE76
Accessibility & contrast
On white
2.58
#7FB02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#7FB02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FB02A
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FB02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FB02A | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A309
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#84A897
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #7fb02a; /* rgb */ color: rgb(127, 176, 42); /* oklch */ color: oklch(69.8% 0.166 128.1);
Tailwind
colors: {
custom: {
50: '#a8c86e',
500: '#7fb02a',
950: '#000000',
},
}SCSS
$custom: #7fb02a; $custom-light: #a8c86e; $custom-dark: #000000;
JSON
{
"hex": "#7fb02a",
"rgb": {
"r": 127,
"g": 176,
"b": 42
},
"hsl": {
"h": 81.94,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.69751,
"c": 0.16612,
"h": 128.1
},
"luminance": 0.3573
}Semantic roles & 50–950 ramp
primary
#7FB02A
secondary
#8F70C6
accent
#43E57E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B