#7E8A45#7E8A45
#7E8A45 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.8% C 0.094 H 117.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8A45 |
|---|---|
| RGB | rgb(126, 138, 69) |
| HSL | hsl(70, 33%, 41%) |
| HSV | hsv(70, 50%, 54%) |
| CMYK | cmyk(8.7%, 0%, 50%, 45.9%) |
| CIE-LAB | lab(55.12, -15.38, 35.21) |
| CIE-LCH | lch(55.12, 38.42, 113.60°) |
| OKLab | oklab(60.77% -0.0435 0.0838) |
| OKLCH | oklch(60.77% 0.094 117.4) |
| XYZ | xyz(18.7670, 23.0424, 9.0880) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.23
Khaki Green
#728639
ΔE00 3.12
Drab
#828344
ΔE00 3.72
Swamp
#698339
ΔE00 5.10
Moss Green
#8A9A5B
ΔE00 5.72
Drab Green
#749551
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8A45 #51458A
analogous
#8A7345 #7E8A45 #5B8A45
triadic
#7E8A45 #457E8A #8A457E
tetradic
#7E8A45 #458A73 #51458A #8A455B
square
#7E8A45 #458A73 #51458A #8A455B
split-complementary
#7E8A45 #455B8A #73458A
monochromatic
#33381C #596131 #7E8A45 #A0AE5E #B8C387
Accessibility & contrast
On white
3.74
#7E8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#7E8A45 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8A45
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8A45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8A45 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92843F
Deuteranopia (green-blind)
#918449
Tritanopia (blue-blind)
#84847A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7e8a45; /* rgb */ color: rgb(126, 138, 69); /* oklch */ color: oklch(60.8% 0.094 117.4);
Tailwind
colors: {
custom: {
50: '#a5ac7a',
500: '#7e8a45',
950: '#000000',
},
}SCSS
$custom: #7e8a45; $custom-light: #a5ac7a; $custom-dark: #000000;
JSON
{
"hex": "#7e8a45",
"rgb": {
"r": 126,
"g": 138,
"b": 69
},
"hsl": {
"h": 70.435,
"s": 33.333,
"l": 40.588
},
"oklch": {
"l": 0.60772,
"c": 0.09447,
"h": 117.4
},
"luminance": 0.23042
}Semantic roles & 50–950 ramp
primary
#7E8A45
secondary
#857DAE
accent
#5EC971
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B