#7E9745#7E9745
#7E9745 is a light, moderate yellow-green. Relative luminance 0.270; OKLCH L 63.9% C 0.113 H 123.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E9745 |
|---|---|
| RGB | rgb(126, 151, 69) |
| HSL | hsl(78, 37%, 43%) |
| HSV | hsv(78, 54%, 59%) |
| CMYK | cmyk(16.6%, 0%, 54.3%, 40.8%) |
| CIE-LAB | lab(58.97, -22.12, 39.79) |
| CIE-LCH | lch(58.97, 45.53, 119.06°) |
| OKLab | oklab(63.87% -0.0625 0.0939) |
| OKLCH | oklch(63.87% 0.113 123.7) |
| XYZ | xyz(20.7450, 26.9984, 9.7474) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.83
Drab Green
#749551
ΔE00 3.84
Moss Green
#8A9A5B
ΔE00 4.15
Moss
#769958
ΔE00 4.63
Olivedrab
#6B8E23
ΔE00 5.32
Flat Green
#699D4C
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E9745 #5E4597
analogous
#978745 #7E9745 #559745
triadic
#7E9745 #457E97 #97457E
tetradic
#7E9745 #459787 #5E4597 #974555
square
#7E9745 #459787 #5E4597 #974555
split-complementary
#7E9745 #455597 #874597
monochromatic
#38431F #5B6D32 #7E9745 #9DB762 #B7CA8C
Accessibility & contrast
On white
3.28
#7E9745 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#7E9745 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E9745
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E9745 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E9745 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8F3D
Deuteranopia (green-blind)
#9B8E4A
Tritanopia (blue-blind)
#839085
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #7e9745; /* rgb */ color: rgb(126, 151, 69); /* oklch */ color: oklch(63.9% 0.113 123.7);
Tailwind
colors: {
custom: {
50: '#a5b57b',
500: '#7e9745',
950: '#000000',
},
}SCSS
$custom: #7e9745; $custom-light: #a5b57b; $custom-dark: #000000;
JSON
{
"hex": "#7e9745",
"rgb": {
"r": 126,
"g": 151,
"b": 69
},
"hsl": {
"h": 78.293,
"s": 37.273,
"l": 43.137
},
"oklch": {
"l": 0.63868,
"c": 0.11275,
"h": 123.7
},
"luminance": 0.26999
}Semantic roles & 50–950 ramp
primary
#7E9745
secondary
#9282B6
accent
#5BCD7E
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B