#7C8A39#7C8A39
#7C8A39 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.5% C 0.107 H 117.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A39 |
|---|---|
| RGB | rgb(124, 138, 57) |
| HSL | hsl(70, 42%, 38%) |
| HSV | hsv(70, 59%, 54%) |
| CMYK | cmyk(10.1%, 0%, 58.7%, 45.9%) |
| CIE-LAB | lab(54.82, -17.39, 40.83) |
| CIE-LCH | lch(54.82, 44.38, 113.07°) |
| OKLab | oklab(60.45% -0.0503 0.0948) |
| OKLCH | oklch(60.45% 0.107 117.9) |
| XYZ | xyz(18.1395, 22.7576, 7.3072) |
| Luminance | 0.2276 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Khaki Green
#728639
ΔE00 2.67
Camo
#7F8F4E
ΔE00 3.75
Drab
#828344
ΔE00 4.67
Swamp
#698339
ΔE00 4.99
Olivedrab
#6B8E23
ΔE00 5.06
Swamp Green
#748500
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A39 #47398A
analogous
#8A6F39 #7C8A39 #548A39
triadic
#7C8A39 #397C8A #8A397C
tetradic
#7C8A39 #398A6F #47398A #8A3954
square
#7C8A39 #398A6F #47398A #8A3954
split-complementary
#7C8A39 #39548A #6F398A
monochromatic
#2E3315 #555F27 #7C8A39 #A3B54B #B9C777
Accessibility & contrast
On white
3.78
#7C8A39 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#7C8A39 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A39
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A39 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938330
Deuteranopia (green-blind)
#91843E
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7c8a39; /* rgb */ color: rgb(124, 138, 57); /* oklch */ color: oklch(60.5% 0.107 117.9);
Tailwind
colors: {
custom: {
50: '#a4ac72',
500: '#7c8a39',
950: '#000000',
},
}SCSS
$custom: #7c8a39; $custom-light: #a4ac72; $custom-dark: #000000;
JSON
{
"hex": "#7c8a39",
"rgb": {
"r": 124,
"g": 138,
"b": 57
},
"hsl": {
"h": 70.37,
"s": 41.538,
"l": 38.235
},
"oklch": {
"l": 0.60452,
"c": 0.10736,
"h": 117.9
},
"luminance": 0.22757
}Semantic roles & 50–950 ramp
primary
#7C8A39
secondary
#7A6FB0
accent
#56D16C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B