#7FAF2C#7FAF2C
#7FAF2C is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.5% C 0.164 H 128.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7FAF2C |
|---|---|
| RGB | rgb(127, 175, 44) |
| HSL | hsl(82, 60%, 43%) |
| HSV | hsv(82, 75%, 69%) |
| CMYK | cmyk(27.4%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(66.02, -35.18, 57.95) |
| CIE-LCH | lch(66.02, 67.80, 121.26°) |
| OKLab | oklab(69.52% -0.1008 0.129) |
| OKLCH | oklch(69.52% 0.164 128) |
| XYZ | xyz(24.5370, 35.3533, 7.9135) |
| Luminance | 0.3535 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado (survey)
#90B134
ΔE00 2.99
Avocado Green
#87A922
ΔE00 3.03
Leaf
#71AA34
ΔE00 3.14
Dark Lime
#84B701
ΔE00 3.60
Icky Green
#8FAE22
ΔE00 3.71
Nasty Green
#70B23F
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FAF2C #5C2CAF
analogous
#AF9D2C #7FAF2C #3DAF2C
triadic
#7FAF2C #2C7FAF #AF2C7F
tetradic
#7FAF2C #2CAF9D #5C2CAF #AF2C3D
square
#7FAF2C #2CAF9D #5C2CAF #AF2C3D
split-complementary
#7FAF2C #2C3DAF #9D2CAF
monochromatic
#384D13 #5C7E20 #7FAF2C #9ED147 #B8DD78
Accessibility & contrast
On white
2.60
#7FAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#7FAF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FAF2C
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FAF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FAF2C | 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)
#B8A310
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#84A796
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #7faf2c; /* rgb */ color: rgb(127, 175, 44); /* oklch */ color: oklch(69.5% 0.164 128.0);
Tailwind
colors: {
custom: {
50: '#a8c76f',
500: '#7faf2c',
950: '#000000',
},
}SCSS
$custom: #7faf2c; $custom-light: #a8c76f; $custom-dark: #000000;
JSON
{
"hex": "#7faf2c",
"rgb": {
"r": 127,
"g": 175,
"b": 44
},
"hsl": {
"h": 81.985,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.69519,
"c": 0.16375,
"h": 128
},
"luminance": 0.35354
}Semantic roles & 50–950 ramp
primary
#7FAF2C
secondary
#9072C5
accent
#45E37F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B