#7A875A#7A875A
#7A875A is a mid, moderate yellow-green. Relative luminance 0.222; OKLCH L 60.1% C 0.066 H 121.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7A875A |
|---|---|
| RGB | rgb(122, 135, 90) |
| HSL | hsl(77, 20%, 44%) |
| HSV | hsv(77, 33%, 53%) |
| CMYK | cmyk(9.6%, 0%, 33.3%, 47.1%) |
| CIE-LAB | lab(54.24, -12.82, 22.68) |
| CIE-LCH | lch(54.24, 26.05, 119.48°) |
| OKLab | oklab(60.1% -0.0346 0.0565) |
| OKLCH | oklch(60.1% 0.066 121.5) |
| XYZ | xyz(18.5354, 22.2037, 12.9801) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 5.05
Drab
#828344
ΔE00 6.24
Green Grey
#77926F
ΔE00 6.30
Military Green
#667C3E
ΔE00 6.80
Khaki Green
#728639
ΔE00 6.87
Drab Green
#749551
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A875A #675A87
analogous
#877E5A #7A875A #64875A
triadic
#7A875A #5A7A87 #875A7A
tetradic
#7A875A #5A877E #675A87 #875A64
square
#7A875A #5A877E #675A87 #875A64
split-complementary
#7A875A #5A6487 #7E5A87
monochromatic
#383E29 #596242 #7A875A #99A579 #B5BE9D
Accessibility & contrast
On white
3.86
#7A875A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#7A875A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A875A
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A875A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A875A | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C8257
Deuteranopia (green-blind)
#8B825C
Tritanopia (blue-blind)
#7E837B
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7a875a; /* rgb */ color: rgb(122, 135, 90); /* oklch */ color: oklch(60.1% 0.066 121.5);
Tailwind
colors: {
custom: {
50: '#a1aa89',
500: '#7a875a',
950: '#000000',
},
}SCSS
$custom: #7a875a; $custom-light: #a1aa89; $custom-dark: #000000;
JSON
{
"hex": "#7a875a",
"rgb": {
"r": 122,
"g": 135,
"b": 90
},
"hsl": {
"h": 77.333,
"s": 20,
"l": 44.118
},
"oklch": {
"l": 0.60101,
"c": 0.06626,
"h": 121.5
},
"luminance": 0.22204
}Semantic roles & 50–950 ramp
primary
#7A875A
secondary
#9991AC
accent
#6BBD83
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0F100B
muted
#7E7F7C