#7A873F#7A873F
#7A873F is a mid, moderate yellow-green. Relative luminance 0.218; OKLCH L 59.6% C 0.098 H 118.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7A873F |
|---|---|
| RGB | rgb(122, 135, 63) |
| HSL | hsl(71, 36%, 39%) |
| HSV | hsv(71, 53%, 53%) |
| CMYK | cmyk(9.6%, 0%, 53.3%, 47.1%) |
| CIE-LAB | lab(53.84, -16.11, 36.69) |
| CIE-LCH | lch(53.84, 40.07, 113.71°) |
| OKLab | oklab(59.65% -0.046 0.0866) |
| OKLCH | oklch(59.65% 0.098 118) |
| XYZ | xyz(17.5874, 21.8245, 7.9877) |
| Luminance | 0.2182 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Khaki Green
#728639
ΔE00 2.06
Camo
#7F8F4E
ΔE00 3.37
Drab
#828344
ΔE00 3.69
Swamp
#698339
ΔE00 4.13
Dirty Green
#667E2C
ΔE00 5.25
Moss Green (survey)
#658B38
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A873F #4C3F87
analogous
#87703F #7A873F #56873F
triadic
#7A873F #3F7A87 #873F7A
tetradic
#7A873F #3F8770 #4C3F87 #873F56
square
#7A873F #3F8770 #4C3F87 #873F56
split-complementary
#7A873F #3F5687 #703F87
monochromatic
#2F3418 #545D2C #7A873F #9FAF54 #B6C37E
Accessibility & contrast
On white
3.91
#7A873F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#7A873F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A873F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A873F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A873F | 1.00 | 3.91 | 5.36 | 5.36 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8138
Deuteranopia (green-blind)
#8E8143
Tritanopia (blue-blind)
#808077
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #7a873f; /* rgb */ color: rgb(122, 135, 63); /* oklch */ color: oklch(59.6% 0.098 118.0);
Tailwind
colors: {
custom: {
50: '#a2aa76',
500: '#7a873f',
950: '#000000',
},
}SCSS
$custom: #7a873f; $custom-light: #a2aa76; $custom-dark: #000000;
JSON
{
"hex": "#7a873f",
"rgb": {
"r": 122,
"g": 135,
"b": 63
},
"hsl": {
"h": 70.833,
"s": 36.364,
"l": 38.824
},
"oklch": {
"l": 0.59648,
"c": 0.09804,
"h": 118
},
"luminance": 0.21824
}Semantic roles & 50–950 ramp
primary
#7A873F
secondary
#7F75AD
accent
#5BCC70
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B