#7FA726#7FA726
#7FA726 is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.157 H 125.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7FA726 |
|---|---|
| RGB | rgb(127, 167, 38) |
| HSL | hsl(79, 63%, 40%) |
| HSV | hsv(79, 77%, 65%) |
| CMYK | cmyk(24%, 0%, 77.2%, 34.5%) |
| CIE-LAB | lab(63.58, -31.80, 57.63) |
| CIE-LCH | lch(63.58, 65.82, 118.89°) |
| OKLab | oklab(67.53% -0.0921 0.1274) |
| OKLCH | oklch(67.53% 0.157 125.9) |
| XYZ | xyz(22.9211, 32.2891, 6.8582) |
| Luminance | 0.3229 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado Green
#87A922
ΔE00 1.76
Icky Green
#8FAE22
ΔE00 3.52
Avocado (survey)
#90B134
ΔE00 3.62
Leaf
#71AA34
ΔE00 3.69
Pea Green
#8EAB12
ΔE00 3.80
Vomit Green
#89A203
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7FA726 #4E26A7
analogous
#A78F26 #7FA726 #3EA726
triadic
#7FA726 #267FA7 #A7267F
tetradic
#7FA726 #26A78F #4E26A7 #A7263E
square
#7FA726 #26A78F #4E26A7 #A7263E
split-complementary
#7FA726 #263EA7 #8F26A7
monochromatic
#33430F #59751B #7FA726 #A2D238 #BADD6A
Accessibility & contrast
On white
2.82
#7FA726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#7FA726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7FA726
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7FA726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7FA726 | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B03
Deuteranopia (green-blind)
#AB9933
Tritanopia (blue-blind)
#859F8F
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #7fa726; /* rgb */ color: rgb(127, 167, 38); /* oklch */ color: oklch(67.5% 0.157 125.9);
Tailwind
colors: {
custom: {
50: '#a8c16b',
500: '#7fa726',
950: '#000000',
},
}SCSS
$custom: #7fa726; $custom-light: #a8c16b; $custom-dark: #000000;
JSON
{
"hex": "#7fa726",
"rgb": {
"r": 127,
"g": 167,
"b": 38
},
"hsl": {
"h": 78.605,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.67527,
"c": 0.15719,
"h": 125.9
},
"luminance": 0.32289
}Semantic roles & 50–950 ramp
primary
#7FA726
secondary
#8365C3
accent
#42E675
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A