#7FA626#7FA626
#7FA626 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.156 H 125.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA626 |
|---|---|
| RGB | rgb(127, 166, 38) |
| HSL | hsl(78, 63%, 40%) |
| HSV | hsv(78, 77%, 65%) |
| CMYK | cmyk(23.5%, 0%, 77.1%, 34.9%) |
| CIE-LAB | lab(63.28, -31.33, 57.35) |
| CIE-LCH | lch(63.28, 65.35, 118.65°) |
| OKLab | oklab(67.28% -0.0908 0.1268) |
| OKLCH | oklch(67.28% 0.156 125.6) |
| XYZ | xyz(22.7386, 31.9241, 6.7973) |
| Luminance | 0.3192 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado Green
#87A922
ΔE00 1.83
Icky Green
#8FAE22
ΔE00 3.64
Avocado (survey)
#90B134
ΔE00 3.80
Leaf
#71AA34
ΔE00 3.83
Pea Green
#8EAB12
ΔE00 3.85
Vomit Green
#89A203
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA626 #4D26A6
analogous
#A68D26 #7FA626 #3FA626
triadic
#7FA626 #267FA6 #A6267F
tetradic
#7FA626 #26A68D #4D26A6 #A6263F
square
#7FA626 #26A68D #4D26A6 #A6263F
split-complementary
#7FA626 #263FA6 #8D26A6
monochromatic
#33420F #59741B #7FA626 #A3D138 #BADD6A
Accessibility & contrast
On white
2.84
#7FA626 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#7FA626 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA626
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA626 | 1.00 | 2.84 | 7.38 | 7.38 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B04
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #7fa626; /* rgb */ color: rgb(127, 166, 38); /* oklch */ color: oklch(67.3% 0.156 125.6);
Tailwind
colors: {
custom: {
50: '#a8c06b',
500: '#7fa626',
950: '#000000',
},
}SCSS
$custom: #7fa626; $custom-light: #a8c06b; $custom-dark: #000000;
JSON
{
"hex": "#7fa626",
"rgb": {
"r": 127,
"g": 166,
"b": 38
},
"hsl": {
"h": 78.281,
"s": 62.745,
"l": 40
},
"oklch": {
"l": 0.67283,
"c": 0.15595,
"h": 125.6
},
"luminance": 0.31924
}Semantic roles & 50–950 ramp
primary
#7FA626
secondary
#8265C3
accent
#42E674
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A