#7EAF3C#7EAF3C
#7EAF3C is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.154 H 129.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7EAF3C |
|---|---|
| RGB | rgb(126, 175, 60) |
| HSL | hsl(86, 49%, 46%) |
| HSV | hsv(86, 66%, 69%) |
| CMYK | cmyk(28%, 0%, 65.7%, 31.4%) |
| CIE-LAB | lab(66.08, -34.49, 51.86) |
| CIE-LCH | lch(66.08, 62.28, 123.63°) |
| OKLab | oklab(69.58% -0.0976 0.1186) |
| OKLCH | oklch(69.58% 0.154 129.4) |
| XYZ | xyz(24.7496, 35.4212, 9.8071) |
| Luminance | 0.3542 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 2.28
Nasty Green
#70B23F
ΔE00 2.77
Avocado (survey)
#90B134
ΔE00 3.94
Turtle Green
#75B84F
ΔE00 4.22
Avocado Green
#87A922
ΔE00 4.35
Grass
#5CAC2D
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7EAF3C #6D3CAF
analogous
#AFA63C #7EAF3C #44AF3C
triadic
#7EAF3C #3C7EAF #AF3C7E
tetradic
#7EAF3C #3CAFA6 #6D3CAF #AF3C44
square
#7EAF3C #3CAFA6 #6D3CAF #AF3C44
split-complementary
#7EAF3C #3C44AF #A63CAF
monochromatic
#3C541D #5D812C #7EAF3C #9CC860 #B8D88D
Accessibility & contrast
On white
2.60
#7EAF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#7EAF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7EAF3C
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7EAF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7EAF3C | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A32D
Deuteranopia (green-blind)
#B09F45
Tritanopia (blue-blind)
#81A897
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #7eaf3c; /* rgb */ color: rgb(126, 175, 60); /* oklch */ color: oklch(69.6% 0.154 129.4);
Tailwind
colors: {
custom: {
50: '#a7c777',
500: '#7eaf3c',
950: '#000000',
},
}SCSS
$custom: #7eaf3c; $custom-light: #a7c777; $custom-dark: #000000;
JSON
{
"hex": "#7eaf3c",
"rgb": {
"r": 126,
"g": 175,
"b": 60
},
"hsl": {
"h": 85.565,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.69582,
"c": 0.15356,
"h": 129.4
},
"luminance": 0.35422
}Semantic roles & 50–950 ramp
primary
#7EAF3C
secondary
#9F84C3
accent
#4FD88A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B