#7C8F56#7C8F56
#7C8F56 is a light, moderate yellow-green. Relative luminance 0.246; OKLCH L 62.1% C 0.083 H 123.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8F56 |
|---|---|
| RGB | rgb(124, 143, 86) |
| HSL | hsl(80, 25%, 45%) |
| HSV | hsv(80, 40%, 56%) |
| CMYK | cmyk(13.3%, 0%, 39.9%, 43.9%) |
| CIE-LAB | lab(56.69, -16.83, 28.10) |
| CIE-LCH | lch(56.69, 32.75, 120.92°) |
| OKLab | oklab(62.07% -0.0462 0.069) |
| OKLCH | oklch(62.07% 0.083 123.8) |
| XYZ | xyz(19.8143, 24.6018, 12.5071) |
| Luminance | 0.2460 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.13
Drab Green
#749551
ΔE00 3.66
Moss Green
#8A9A5B
ΔE00 4.19
Moss
#769958
ΔE00 4.39
Khaki Green
#728639
ΔE00 5.51
Swamp
#698339
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8F56 #69568F
analogous
#8F8656 #7C8F56 #5F8F56
triadic
#7C8F56 #567C8F #8F567C
tetradic
#7C8F56 #568F86 #69568F #8F565F
square
#7C8F56 #568F86 #69568F #8F565F
split-complementary
#7C8F56 #565F8F #86568F
monochromatic
#3A4328 #5B693F #7C8F56 #9AAC76 #B6C39C
Accessibility & contrast
On white
3.55
#7C8F56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#7C8F56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8F56
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8F56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8F56 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958952
Deuteranopia (green-blind)
#928859
Tritanopia (blue-blind)
#808A81
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #7c8f56; /* rgb */ color: rgb(124, 143, 86); /* oklch */ color: oklch(62.1% 0.083 123.8);
Tailwind
colors: {
custom: {
50: '#a3af86',
500: '#7c8f56',
950: '#000000',
},
}SCSS
$custom: #7c8f56; $custom-light: #a3af86; $custom-dark: #000000;
JSON
{
"hex": "#7c8f56",
"rgb": {
"r": 124,
"g": 143,
"b": 86
},
"hsl": {
"h": 80,
"s": 24.891,
"l": 44.902
},
"oklch": {
"l": 0.62069,
"c": 0.08299,
"h": 123.8
},
"luminance": 0.24602
}Semantic roles & 50–950 ramp
primary
#7C8F56
secondary
#9B90B1
accent
#66C185
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C