#7C8B3E#7C8B3E
#7C8B3E is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.104 H 118.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8B3E |
|---|---|
| RGB | rgb(124, 139, 62) |
| HSL | hsl(72, 38%, 39%) |
| HSV | hsv(72, 55%, 55%) |
| CMYK | cmyk(10.8%, 0%, 55.4%, 45.5%) |
| CIE-LAB | lab(55.17, -17.46, 38.79) |
| CIE-LCH | lch(55.17, 42.54, 114.24°) |
| OKLab | oklab(60.75% -0.05 0.091) |
| OKLCH | oklch(60.75% 0.104 118.8) |
| XYZ | xyz(18.4145, 23.0982, 8.0448) |
| Luminance | 0.2310 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Khaki Green
#728639
ΔE00 2.57
Camo
#7F8F4E
ΔE00 2.89
Drab
#828344
ΔE00 4.71
Swamp
#698339
ΔE00 4.81
Olivedrab
#6B8E23
ΔE00 5.23
Moss Green (survey)
#658B38
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8B3E #4D3E8B
analogous
#8B743E #7C8B3E #568B3E
triadic
#7C8B3E #3E7C8B #8B3E7C
tetradic
#7C8B3E #3E8B74 #4D3E8B #8B3E56
square
#7C8B3E #3E8B74 #4D3E8B #8B3E56
split-complementary
#7C8B3E #3E568B #743E8B
monochromatic
#303618 #56612B #7C8B3E #A0B354 #B8C57E
Accessibility & contrast
On white
3.74
#7C8B3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#7C8B3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8B3E
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8B3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8B3E | 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)
#938436
Deuteranopia (green-blind)
#918443
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8b3e; /* rgb */ color: rgb(124, 139, 62); /* oklch */ color: oklch(60.8% 0.104 118.8);
Tailwind
colors: {
custom: {
50: '#a4ac76',
500: '#7c8b3e',
950: '#000000',
},
}SCSS
$custom: #7c8b3e; $custom-light: #a4ac76; $custom-dark: #000000;
JSON
{
"hex": "#7c8b3e",
"rgb": {
"r": 124,
"g": 139,
"b": 62
},
"hsl": {
"h": 71.688,
"s": 38.308,
"l": 39.412
},
"oklch": {
"l": 0.60752,
"c": 0.10384,
"h": 118.8
},
"luminance": 0.23098
}Semantic roles & 50–950 ramp
primary
#7C8B3E
secondary
#8175B0
accent
#5ACE70
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B