#7C8F52#7C8F52
#7C8F52 is a light, moderate yellow-green. Relative luminance 0.245; OKLCH L 62.0% C 0.088 H 123.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8F52 |
|---|---|
| RGB | rgb(124, 143, 82) |
| HSL | hsl(79, 27%, 44%) |
| HSV | hsv(79, 43%, 56%) |
| CMYK | cmyk(13.3%, 0%, 42.7%, 43.9%) |
| CIE-LAB | lab(56.62, -17.34, 30.18) |
| CIE-LCH | lch(56.62, 34.81, 119.89°) |
| OKLab | oklab(62% -0.0479 0.0735) |
| OKLCH | oklch(62% 0.088 123.1) |
| XYZ | xyz(19.6576, 24.5391, 11.6819) |
| Luminance | 0.2454 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.34
Drab Green
#749551
ΔE00 3.44
Moss Green
#8A9A5B
ΔE00 4.04
Moss
#769958
ΔE00 4.39
Khaki Green
#728639
ΔE00 4.83
Swamp
#698339
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8F52 #65528F
analogous
#8F8452 #7C8F52 #5E8F52
triadic
#7C8F52 #527C8F #8F527C
tetradic
#7C8F52 #528F84 #65528F #8F525E
square
#7C8F52 #528F84 #65528F #8F525E
split-complementary
#7C8F52 #525E8F #84528F
monochromatic
#394125 #5A683C #7C8F52 #9BAD71 #B6C498
Accessibility & contrast
On white
3.55
#7C8F52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#7C8F52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8F52
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8F52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8F52 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95884D
Deuteranopia (green-blind)
#938855
Tritanopia (blue-blind)
#808A80
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #7c8f52; /* rgb */ color: rgb(124, 143, 82); /* oklch */ color: oklch(62.0% 0.088 123.1);
Tailwind
colors: {
custom: {
50: '#a3af83',
500: '#7c8f52',
950: '#000000',
},
}SCSS
$custom: #7c8f52; $custom-light: #a3af83; $custom-dark: #000000;
JSON
{
"hex": "#7c8f52",
"rgb": {
"r": 124,
"g": 143,
"b": 82
},
"hsl": {
"h": 78.689,
"s": 27.111,
"l": 44.118
},
"oklch": {
"l": 0.62,
"c": 0.08773,
"h": 123.1
},
"luminance": 0.24539
}Semantic roles & 50–950 ramp
primary
#7C8F52
secondary
#978CB1
accent
#64C382
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C