#7E9945#7E9945
#7E9945 is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.3% C 0.116 H 124.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E9945 |
|---|---|
| RGB | rgb(126, 153, 69) |
| HSL | hsl(79, 38%, 44%) |
| HSV | hsv(79, 55%, 60%) |
| CMYK | cmyk(17.6%, 0%, 54.9%, 40%) |
| CIE-LAB | lab(59.57, -23.12, 40.49) |
| CIE-LCH | lch(59.57, 46.63, 119.73°) |
| OKLab | oklab(64.35% -0.0653 0.0954) |
| OKLCH | oklch(64.35% 0.116 124.4) |
| XYZ | xyz(21.0696, 27.6476, 9.8556) |
| Luminance | 0.2765 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 3.99
Moss Green
#8A9A5B
ΔE00 4.34
Camo
#7F8F4E
ΔE00 4.48
Moss
#769958
ΔE00 4.61
Flat Green
#699D4C
ΔE00 5.30
Olivedrab
#6B8E23
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E9945 #604599
analogous
#998A45 #7E9945 #549945
triadic
#7E9945 #457E99 #99457E
tetradic
#7E9945 #45998A #604599 #994554
square
#7E9945 #45998A #604599 #994554
split-complementary
#7E9945 #455499 #8A4599
monochromatic
#39451F #5B6F32 #7E9945 #9DB963 #B7CC8D
Accessibility & contrast
On white
3.22
#7E9945 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#7E9945 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E9945
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E9945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E9945 | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 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)
#A1903D
Deuteranopia (green-blind)
#9D8F4A
Tritanopia (blue-blind)
#839286
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #7e9945; /* rgb */ color: rgb(126, 153, 69); /* oklch */ color: oklch(64.3% 0.116 124.4);
Tailwind
colors: {
custom: {
50: '#a5b77b',
500: '#7e9945',
950: '#000000',
},
}SCSS
$custom: #7e9945; $custom-light: #a5b77b; $custom-dark: #000000;
JSON
{
"hex": "#7e9945",
"rgb": {
"r": 126,
"g": 153,
"b": 69
},
"hsl": {
"h": 79.286,
"s": 37.838,
"l": 43.529
},
"oklch": {
"l": 0.64348,
"c": 0.11558,
"h": 124.4
},
"luminance": 0.27648
}Semantic roles & 50–950 ramp
primary
#7E9945
secondary
#9483B7
accent
#5ACE7F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B