#7C8F3D#7C8F3D
#7C8F3D is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.110 H 120.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8F3D |
|---|---|
| RGB | rgb(124, 143, 61) |
| HSL | hsl(74, 40%, 40%) |
| HSV | hsv(74, 57%, 56%) |
| CMYK | cmyk(13.3%, 0%, 57.3%, 43.9%) |
| CIE-LAB | lab(56.35, -19.64, 40.64) |
| CIE-LCH | lch(56.35, 45.13, 115.79°) |
| OKLab | oklab(61.7% -0.0562 0.0949) |
| OKLCH | oklch(61.7% 0.11 120.6) |
| XYZ | xyz(18.9771, 24.2670, 8.0982) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.10
Khaki Green
#728639
ΔE00 3.44
Olivedrab
#6B8E23
ΔE00 4.40
Moss Green (survey)
#658B38
ΔE00 5.10
Drab Green
#749551
ΔE00 5.14
Mossy Green
#638B27
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8F3D #503D8F
analogous
#8F793D #7C8F3D #538F3D
triadic
#7C8F3D #3D7C8F #8F3D7C
tetradic
#7C8F3D #3D8F79 #503D8F #8F3D53
square
#7C8F3D #3D8F79 #503D8F #8F3D53
split-complementary
#7C8F3D #3D538F #793D8F
monochromatic
#323918 #57642B #7C8F3D #9FB653 #B7C87E
Accessibility & contrast
On white
3.59
#7C8F3D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#7C8F3D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8F3D
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8F3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8F3D | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978735
Deuteranopia (green-blind)
#958742
Tritanopia (blue-blind)
#82887D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #7c8f3d; /* rgb */ color: rgb(124, 143, 61); /* oklch */ color: oklch(61.7% 0.110 120.6);
Tailwind
colors: {
custom: {
50: '#a4af75',
500: '#7c8f3d',
950: '#000000',
},
}SCSS
$custom: #7c8f3d; $custom-light: #a4af75; $custom-dark: #000000;
JSON
{
"hex": "#7c8f3d",
"rgb": {
"r": 124,
"g": 143,
"b": 61
},
"hsl": {
"h": 73.902,
"s": 40.196,
"l": 40
},
"oklch": {
"l": 0.61696,
"c": 0.11027,
"h": 120.6
},
"luminance": 0.24267
}Semantic roles & 50–950 ramp
primary
#7C8F3D
secondary
#8476B2
accent
#58D074
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B