#7FA166#7FA166
#7FA166 is a light, moderate yellow-green. Relative luminance 0.310; OKLCH L 66.9% C 0.091 H 132.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA166 |
|---|---|
| RGB | rgb(127, 161, 102) |
| HSL | hsl(95, 24%, 52%) |
| HSV | hsv(95, 37%, 63%) |
| CMYK | cmyk(21.1%, 0%, 36.6%, 36.9%) |
| CIE-LAB | lab(62.47, -22.68, 27.01) |
| CIE-LCH | lch(62.47, 35.27, 130.03°) |
| OKLab | oklab(66.85% -0.0619 0.067) |
| OKLCH | oklch(66.85% 0.091 132.8) |
| XYZ | xyz(23.8951, 30.9606, 17.2849) |
| Luminance | 0.3096 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 3.10
Dull Green
#74A662
ΔE00 3.20
Sage
#87AE73
ΔE00 3.90
Dusty Green
#76A973
ΔE00 4.31
Drab Green
#749551
ΔE00 4.62
Moss Green
#8A9A5B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA166 #8866A1
analogous
#9DA166 #7FA166 #66A16B
triadic
#7FA166 #667FA1 #A1667F
tetradic
#7FA166 #669DA1 #8866A1 #A16B66
square
#7FA166 #669DA1 #8866A1 #A16B66
split-complementary
#7FA166 #6B66A1 #A1669D
monochromatic
#445736 #617D4D #7FA166 #9FB88C #BED0B2
Accessibility & contrast
On white
2.92
#7FA166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#7FA166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA166
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA166 | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69962
Deuteranopia (green-blind)
#A19669
Tritanopia (blue-blind)
#809C92
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #7fa166; /* rgb */ color: rgb(127, 161, 102); /* oklch */ color: oklch(66.9% 0.091 132.8);
Tailwind
colors: {
custom: {
50: '#a5bd92',
500: '#7fa166',
950: '#000000',
},
}SCSS
$custom: #7fa166; $custom-light: #a5bd92; $custom-dark: #000000;
JSON
{
"hex": "#7fa166",
"rgb": {
"r": 127,
"g": 161,
"b": 102
},
"hsl": {
"h": 94.576,
"s": 23.887,
"l": 51.569
},
"oklch": {
"l": 0.66854,
"c": 0.09124,
"h": 132.8
},
"luminance": 0.30961
}Semantic roles & 50–950 ramp
primary
#7FA166
secondary
#B3A4BE
accent
#67C09B
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F120D
muted
#7F817E