#7A8A5A#7A8A5A
#7A8A5A is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.071 H 123.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7A8A5A |
|---|---|
| RGB | rgb(122, 138, 90) |
| HSL | hsl(80, 21%, 45%) |
| HSV | hsv(80, 35%, 54%) |
| CMYK | cmyk(11.6%, 0%, 34.8%, 45.9%) |
| CIE-LAB | lab(55.13, -14.43, 23.84) |
| CIE-LCH | lch(55.13, 27.87, 121.19°) |
| OKLab | oklab(60.81% -0.0392 0.0592) |
| OKLCH | oklch(60.81% 0.071 123.5) |
| XYZ | xyz(18.9598, 23.0527, 13.1216) |
| Luminance | 0.2305 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 4.16
Green Grey
#77926F
ΔE00 5.77
Drab Green
#749551
ΔE00 5.79
Moss Green
#8A9A5B
ΔE00 6.26
Moss
#769958
ΔE00 6.39
Khaki Green
#728639
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A8A5A #6A5A8A
analogous
#8A825A #7A8A5A #628A5A
triadic
#7A8A5A #5A7A8A #8A5A7A
tetradic
#7A8A5A #5A8A82 #6A5A8A #8A5A62
square
#7A8A5A #5A8A82 #6A5A8A #8A5A62
split-complementary
#7A8A5A #5A628A #825A8A
monochromatic
#39402A #596542 #7A8A5A #98A879 #B5C09E
Accessibility & contrast
On white
3.74
#7A8A5A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#7A8A5A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A8A5A
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A8A5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A8A5A | 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)
#8F8457
Deuteranopia (green-blind)
#8D845C
Tritanopia (blue-blind)
#7D857E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7a8a5a; /* rgb */ color: rgb(122, 138, 90); /* oklch */ color: oklch(60.8% 0.071 123.5);
Tailwind
colors: {
custom: {
50: '#a1ac89',
500: '#7a8a5a',
950: '#000000',
},
}SCSS
$custom: #7a8a5a; $custom-light: #a1ac89; $custom-dark: #000000;
JSON
{
"hex": "#7a8a5a",
"rgb": {
"r": 122,
"g": 138,
"b": 90
},
"hsl": {
"h": 80,
"s": 21.053,
"l": 44.706
},
"oklch": {
"l": 0.60807,
"c": 0.07102,
"h": 123.5
},
"luminance": 0.23053
}Semantic roles & 50–950 ramp
primary
#7A8A5A
secondary
#9B92AE
accent
#6ABE86
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C