#7FAF2A#7FAF2A
#7FAF2A is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.165 H 127.9°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7FAF2A |
|---|---|
| RGB | rgb(127, 175, 42) |
| HSL | hsl(82, 61%, 43%) |
| HSV | hsv(82, 76%, 69%) |
| CMYK | cmyk(27.4%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(66.01, -35.29, 58.62) |
| CIE-LCH | lch(66.01, 68.42, 121.05°) |
| OKLab | oklab(69.51% -0.1013 0.1301) |
| OKLCH | oklch(69.51% 0.165 127.9) |
| XYZ | xyz(24.5003, 35.3386, 7.7202) |
| Luminance | 0.3534 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado Green
#87A922
ΔE00 2.94
Avocado (survey)
#90B134
ΔE00 2.96
Leaf
#71AA34
ΔE00 3.26
Dark Lime
#84B701
ΔE00 3.45
Icky Green
#8FAE22
ΔE00 3.61
Nasty Green
#70B23F
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FAF2A #5A2AAF
analogous
#AF9C2A #7FAF2A #3DAF2A
triadic
#7FAF2A #2A7FAF #AF2A7F
tetradic
#7FAF2A #2AAF9C #5A2AAF #AF2A3D
square
#7FAF2A #2AAF9C #5A2AAF #AF2A3D
split-complementary
#7FAF2A #2A3DAF #9C2AAF
monochromatic
#374C12 #5B7E1E #7FAF2A #9FD244 #B8DE75
Accessibility & contrast
On white
2.60
#7FAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#7FAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FAF2A
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FAF2A | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20A
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#84A796
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #7faf2a; /* rgb */ color: rgb(127, 175, 42); /* oklch */ color: oklch(69.5% 0.165 127.9);
Tailwind
colors: {
custom: {
50: '#a8c76e',
500: '#7faf2a',
950: '#000000',
},
}SCSS
$custom: #7faf2a; $custom-light: #a8c76e; $custom-dark: #000000;
JSON
{
"hex": "#7faf2a",
"rgb": {
"r": 127,
"g": 175,
"b": 42
},
"hsl": {
"h": 81.654,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.69507,
"c": 0.16488,
"h": 127.9
},
"luminance": 0.35339
}Semantic roles & 50–950 ramp
primary
#7FAF2A
secondary
#8E6FC6
accent
#43E47E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B