#7C8A54#7C8A54
#7C8A54 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.9% C 0.078 H 120.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A54 |
|---|---|
| RGB | rgb(124, 138, 84) |
| HSL | hsl(76, 24%, 44%) |
| HSV | hsv(76, 39%, 54%) |
| CMYK | cmyk(10.1%, 0%, 39.1%, 45.9%) |
| CIE-LAB | lab(55.18, -14.44, 27.25) |
| CIE-LCH | lch(55.18, 30.84, 117.92°) |
| OKLab | oklab(60.85% -0.0396 0.0669) |
| OKLCH | oklch(60.85% 0.078 120.6) |
| XYZ | xyz(19.0009, 23.1022, 11.8440) |
| Luminance | 0.2310 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.75
Khaki Green
#728639
ΔE00 5.13
Drab
#828344
ΔE00 5.18
Drab Green
#749551
ΔE00 5.44
Moss Green
#8A9A5B
ΔE00 5.56
Swamp
#698339
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A54 #62548A
analogous
#8A7D54 #7C8A54 #618A54
triadic
#7C8A54 #547C8A #8A547C
tetradic
#7C8A54 #548A7D #62548A #8A5461
square
#7C8A54 #548A7D #62548A #8A5461
split-complementary
#7C8A54 #54618A #7D548A
monochromatic
#383E26 #5A643D #7C8A54 #9BA972 #B6C098
Accessibility & contrast
On white
3.74
#7C8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#7C8A54 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A54
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A54 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908450
Deuteranopia (green-blind)
#8E8457
Tritanopia (blue-blind)
#81857D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a54; /* rgb */ color: rgb(124, 138, 84); /* oklch */ color: oklch(60.9% 0.078 120.6);
Tailwind
colors: {
custom: {
50: '#a3ac85',
500: '#7c8a54',
950: '#000000',
},
}SCSS
$custom: #7c8a54; $custom-light: #a3ac85; $custom-dark: #000000;
JSON
{
"hex": "#7c8a54",
"rgb": {
"r": 124,
"g": 138,
"b": 84
},
"hsl": {
"h": 75.556,
"s": 24.324,
"l": 43.529
},
"oklch": {
"l": 0.60852,
"c": 0.07774,
"h": 120.6
},
"luminance": 0.23102
}Semantic roles & 50–950 ramp
primary
#7C8A54
secondary
#958CAE
accent
#67C17E
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C