#7FA266#7FA266
#7FA266 is a light, moderate yellow-green. Relative luminance 0.313; OKLCH L 67.1% C 0.093 H 133.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA266 |
|---|---|
| RGB | rgb(127, 162, 102) |
| HSL | hsl(95, 24%, 52%) |
| HSV | hsv(95, 37%, 64%) |
| CMYK | cmyk(21.6%, 0%, 37%, 36.5%) |
| CIE-LAB | lab(62.77, -23.19, 27.40) |
| CIE-LCH | lch(62.77, 35.89, 130.24°) |
| OKLab | oklab(67.09% -0.0633 0.0679) |
| OKLCH | oklch(67.09% 0.093 133) |
| XYZ | xyz(24.0705, 31.3115, 17.3433) |
| Luminance | 0.3131 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dull Green
#74A662
ΔE00 2.93
Moss
#769958
ΔE00 3.26
Sage
#87AE73
ΔE00 3.64
Dusty Green
#76A973
ΔE00 4.15
Off Green
#6BA353
ΔE00 4.77
Drab Green
#749551
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA266 #8966A2
analogous
#9DA266 #7FA266 #66A26B
triadic
#7FA266 #667FA2 #A2667F
tetradic
#7FA266 #669DA2 #8966A2 #A26B66
square
#7FA266 #669DA2 #8966A2 #A26B66
split-complementary
#7FA266 #6B66A2 #A2669D
monochromatic
#445836 #617E4D #7FA266 #9FB98C #BFD0B2
Accessibility & contrast
On white
2.89
#7FA266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#7FA266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA266
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA266 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79A62
Deuteranopia (green-blind)
#A19769
Tritanopia (blue-blind)
#809D93
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #7fa266; /* rgb */ color: rgb(127, 162, 102); /* oklch */ color: oklch(67.1% 0.093 133.0);
Tailwind
colors: {
custom: {
50: '#a5bd92',
500: '#7fa266',
950: '#000000',
},
}SCSS
$custom: #7fa266; $custom-light: #a5bd92; $custom-dark: #000000;
JSON
{
"hex": "#7fa266",
"rgb": {
"r": 127,
"g": 162,
"b": 102
},
"hsl": {
"h": 95,
"s": 24.39,
"l": 51.765
},
"oklch": {
"l": 0.67092,
"c": 0.09285,
"h": 133
},
"luminance": 0.31312
}Semantic roles & 50–950 ramp
primary
#7FA266
secondary
#B4A5BF
accent
#67C19B
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F120D
muted
#7F817E