#7C8A37#7C8A37
#7C8A37 is a mid, moderate yellow-green. Relative luminance 0.227; OKLCH L 60.4% C 0.109 H 117.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A37 |
|---|---|
| RGB | rgb(124, 138, 55) |
| HSL | hsl(70, 43%, 38%) |
| HSV | hsv(70, 60%, 54%) |
| CMYK | cmyk(10.1%, 0%, 60.1%, 45.9%) |
| CIE-LAB | lab(54.80, -17.57, 41.76) |
| CIE-LCH | lch(54.80, 45.31, 112.81°) |
| OKLab | oklab(60.43% -0.051 0.0966) |
| OKLCH | oklch(60.43% 0.109 117.8) |
| XYZ | xyz(18.0905, 22.7380, 7.0496) |
| Luminance | 0.2274 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Khaki Green
#728639
ΔE00 2.81
Camo
#7F8F4E
ΔE00 4.05
Drab
#828344
ΔE00 4.83
Olivedrab
#6B8E23
ΔE00 4.94
Swamp
#698339
ΔE00 5.13
Swamp Green
#748500
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A37 #45378A
analogous
#8A6E37 #7C8A37 #538A37
triadic
#7C8A37 #377C8A #8A377C
tetradic
#7C8A37 #378A6E #45378A #8A3753
square
#7C8A37 #378A6E #45378A #8A3753
split-complementary
#7C8A37 #37538A #6E378A
monochromatic
#2D3214 #555E26 #7C8A37 #A3B648 #B9C874
Accessibility & contrast
On white
3.79
#7C8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#7C8A37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A37
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A37 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 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)
#93832E
Deuteranopia (green-blind)
#91843C
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7c8a37; /* rgb */ color: rgb(124, 138, 55); /* oklch */ color: oklch(60.4% 0.109 117.8);
Tailwind
colors: {
custom: {
50: '#a4ac71',
500: '#7c8a37',
950: '#000000',
},
}SCSS
$custom: #7c8a37; $custom-light: #a4ac71; $custom-dark: #000000;
JSON
{
"hex": "#7c8a37",
"rgb": {
"r": 124,
"g": 138,
"b": 55
},
"hsl": {
"h": 70.12,
"s": 43.005,
"l": 37.843
},
"oklch": {
"l": 0.60429,
"c": 0.10922,
"h": 117.8
},
"luminance": 0.22738
}Semantic roles & 50–950 ramp
primary
#7C8A37
secondary
#786DB0
accent
#55D36A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B