#7E9952#7E9952
#7E9952 is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.5% C 0.102 H 126.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E9952 |
|---|---|
| RGB | rgb(126, 153, 82) |
| HSL | hsl(83, 30%, 46%) |
| HSV | hsv(83, 46%, 60%) |
| CMYK | cmyk(17.6%, 0%, 46.4%, 40%) |
| CIE-LAB | lab(59.73, -21.69, 34.10) |
| CIE-LCH | lch(59.73, 40.42, 122.46°) |
| OKLab | oklab(64.53% -0.0602 0.0823) |
| OKLCH | oklch(64.53% 0.102 126.2) |
| XYZ | xyz(21.5183, 27.8271, 12.2185) |
| Luminance | 0.2783 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 2.36
Moss
#769958
ΔE00 2.54
Moss Green
#8A9A5B
ΔE00 3.02
Camo
#7F8F4E
ΔE00 3.77
Flat Green
#699D4C
ΔE00 4.77
Off Green
#6BA353
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E9952 #6D5299
analogous
#999052 #7E9952 #5A9952
triadic
#7E9952 #527E99 #99527E
tetradic
#7E9952 #529990 #6D5299 #99525A
square
#7E9952 #529990 #6D5299 #99525A
split-complementary
#7E9952 #525A99 #905299
monochromatic
#3C4927 #5D713D #7E9952 #9CB474 #B8CA9C
Accessibility & contrast
On white
3.20
#7E9952 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#7E9952 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E9952
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E9952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E9952 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0914C
Deuteranopia (green-blind)
#9C8F56
Tritanopia (blue-blind)
#829388
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7e9952; /* rgb */ color: rgb(126, 153, 82); /* oklch */ color: oklch(64.5% 0.102 126.2);
Tailwind
colors: {
custom: {
50: '#a5b784',
500: '#7e9952',
950: '#000000',
},
}SCSS
$custom: #7e9952; $custom-light: #a5b784; $custom-dark: #000000;
JSON
{
"hex": "#7e9952",
"rgb": {
"r": 126,
"g": 153,
"b": 82
},
"hsl": {
"h": 82.817,
"s": 30.213,
"l": 46.078
},
"oklch": {
"l": 0.64532,
"c": 0.102,
"h": 126.2
},
"luminance": 0.27827
}Semantic roles & 50–950 ramp
primary
#7E9952
secondary
#9F90B7
accent
#61C688
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C