#7C8E4E#7C8E4E
#7C8E4E is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.7% C 0.091 H 122.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8E4E |
|---|---|
| RGB | rgb(124, 142, 78) |
| HSL | hsl(77, 29%, 43%) |
| HSV | hsv(77, 45%, 56%) |
| CMYK | cmyk(12.7%, 0%, 45.1%, 44.3%) |
| CIE-LAB | lab(56.27, -17.31, 31.87) |
| CIE-LCH | lch(56.27, 36.27, 118.51°) |
| OKLab | oklab(61.7% -0.0481 0.0771) |
| OKLCH | oklch(61.7% 0.091 122) |
| XYZ | xyz(19.3603, 24.1811, 10.8537) |
| Luminance | 0.2418 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 0.79
Drab Green
#749551
ΔE00 3.79
Khaki Green
#728639
ΔE00 4.12
Moss Green
#8A9A5B
ΔE00 4.30
Moss
#769958
ΔE00 4.90
Swamp
#698339
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8E4E #604E8E
analogous
#8E804E #7C8E4E #5C8E4E
triadic
#7C8E4E #4E7C8E #8E4E7C
tetradic
#7C8E4E #4E8E80 #604E8E #8E4E5C
square
#7C8E4E #4E8E80 #604E8E #8E4E5C
split-complementary
#7C8E4E #4E5C8E #804E8E
monochromatic
#373F23 #5A6638 #7C8E4E #9BAE6B #B6C493
Accessibility & contrast
On white
3.60
#7C8E4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#7C8E4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8E4E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8E4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8E4E | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958749
Deuteranopia (green-blind)
#928751
Tritanopia (blue-blind)
#81887F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #7c8e4e; /* rgb */ color: rgb(124, 142, 78); /* oklch */ color: oklch(61.7% 0.091 122.0);
Tailwind
colors: {
custom: {
50: '#a3af81',
500: '#7c8e4e',
950: '#000000',
},
}SCSS
$custom: #7c8e4e; $custom-light: #a3af81; $custom-dark: #000000;
JSON
{
"hex": "#7c8e4e",
"rgb": {
"r": 124,
"g": 142,
"b": 78
},
"hsl": {
"h": 76.875,
"s": 29.091,
"l": 43.137
},
"oklch": {
"l": 0.61696,
"c": 0.09087,
"h": 122
},
"luminance": 0.24181
}Semantic roles & 50–950 ramp
primary
#7C8E4E
secondary
#9388B0
accent
#62C57E
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C