#7C8951#7C8951
#7C8951 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.6% C 0.080 H 119.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8951 |
|---|---|
| RGB | rgb(124, 137, 81) |
| HSL | hsl(74, 26%, 43%) |
| HSV | hsv(74, 41%, 54%) |
| CMYK | cmyk(9.5%, 0%, 40.9%, 46.3%) |
| CIE-LAB | lab(54.84, -14.29, 28.45) |
| CIE-LCH | lch(54.84, 31.84, 116.68°) |
| OKLab | oklab(60.56% -0.0394 0.0695) |
| OKLCH | oklch(60.56% 0.08 119.5) |
| XYZ | xyz(18.7431, 22.7706, 11.1907) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.61
Drab
#828344
ΔE00 4.55
Khaki Green
#728639
ΔE00 4.61
Swamp
#698339
ΔE00 5.55
Drab Green
#749551
ΔE00 5.69
Moss Green
#8A9A5B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8951 #5E5189
analogous
#897A51 #7C8951 #608951
triadic
#7C8951 #517C89 #89517C
tetradic
#7C8951 #51897A #5E5189 #895160
square
#7C8951 #51897A #5E5189 #895160
split-complementary
#7C8951 #516089 #7A5189
monochromatic
#363C24 #59633A #7C8951 #9BA96E #B6C094
Accessibility & contrast
On white
3.78
#7C8951 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#7C8951 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8951
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8951 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8951 | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90834D
Deuteranopia (green-blind)
#8E8354
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7c8951; /* rgb */ color: rgb(124, 137, 81); /* oklch */ color: oklch(60.6% 0.080 119.5);
Tailwind
colors: {
custom: {
50: '#a3ab83',
500: '#7c8951',
950: '#000000',
},
}SCSS
$custom: #7c8951; $custom-light: #a3ab83; $custom-dark: #000000;
JSON
{
"hex": "#7c8951",
"rgb": {
"r": 124,
"g": 137,
"b": 81
},
"hsl": {
"h": 73.929,
"s": 25.688,
"l": 42.745
},
"oklch": {
"l": 0.60563,
"c": 0.07988,
"h": 119.5
},
"luminance": 0.2277
}Semantic roles & 50–950 ramp
primary
#7C8951
secondary
#9189AD
accent
#66C27B
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C