#7E9946#7E9946
#7E9946 is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.4% C 0.115 H 124.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E9946 |
|---|---|
| RGB | rgb(126, 153, 70) |
| HSL | hsl(80, 37%, 44%) |
| HSV | hsv(80, 54%, 60%) |
| CMYK | cmyk(17.6%, 0%, 54.2%, 40%) |
| CIE-LAB | lab(59.58, -23.02, 40.01) |
| CIE-LCH | lch(59.58, 46.16, 119.91°) |
| OKLab | oklab(64.36% -0.0649 0.0944) |
| OKLCH | oklch(64.36% 0.115 124.5) |
| XYZ | xyz(21.1009, 27.6601, 10.0204) |
| Luminance | 0.2766 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 3.84
Moss Green
#8A9A5B
ΔE00 4.21
Camo
#7F8F4E
ΔE00 4.39
Moss
#769958
ΔE00 4.45
Flat Green
#699D4C
ΔE00 5.23
Olivedrab
#6B8E23
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E9946 #614699
analogous
#998A46 #7E9946 #549946
triadic
#7E9946 #467E99 #99467E
tetradic
#7E9946 #46998A #614699 #994654
square
#7E9946 #46998A #614699 #994654
split-complementary
#7E9946 #465499 #8A4699
monochromatic
#394520 #5B6F33 #7E9946 #9DB864 #B7CB8E
Accessibility & contrast
On white
3.21
#7E9946 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#7E9946 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E9946
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E9946 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E9946 | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1903E
Deuteranopia (green-blind)
#9D8F4B
Tritanopia (blue-blind)
#839286
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #7e9946; /* rgb */ color: rgb(126, 153, 70); /* oklch */ color: oklch(64.4% 0.115 124.5);
Tailwind
colors: {
custom: {
50: '#a5b77c',
500: '#7e9946',
950: '#000000',
},
}SCSS
$custom: #7e9946; $custom-light: #a5b77c; $custom-dark: #000000;
JSON
{
"hex": "#7e9946",
"rgb": {
"r": 126,
"g": 153,
"b": 70
},
"hsl": {
"h": 79.518,
"s": 37.22,
"l": 43.725
},
"oklch": {
"l": 0.6436,
"c": 0.11459,
"h": 124.5
},
"luminance": 0.2766
}Semantic roles & 50–950 ramp
primary
#7E9946
secondary
#9584B7
accent
#5BCD80
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C