#7C8A45#7C8A45
#7C8A45 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.095 H 118.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A45 |
|---|---|
| RGB | rgb(124, 138, 69) |
| HSL | hsl(72, 33%, 41%) |
| HSV | hsv(72, 50%, 54%) |
| CMYK | cmyk(10.1%, 0%, 50%, 45.9%) |
| CIE-LAB | lab(54.96, -16.23, 34.99) |
| CIE-LCH | lch(54.96, 38.57, 114.89°) |
| OKLab | oklab(60.61% -0.0458 0.0834) |
| OKLCH | oklch(60.61% 0.095 118.8) |
| XYZ | xyz(18.4750, 22.8918, 9.0744) |
| Luminance | 0.2289 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.07
Khaki Green
#728639
ΔE00 2.75
Drab
#828344
ΔE00 4.14
Swamp
#698339
ΔE00 4.64
Drab Green
#749551
ΔE00 5.54
Moss Green (survey)
#658B38
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A45 #53458A
analogous
#8A7545 #7C8A45 #598A45
triadic
#7C8A45 #457C8A #8A457C
tetradic
#7C8A45 #458A75 #53458A #8A4559
square
#7C8A45 #458A75 #53458A #8A4559
split-complementary
#7C8A45 #45598A #75458A
monochromatic
#33381C #576131 #7C8A45 #9EAE5E #B7C387
Accessibility & contrast
On white
3.76
#7C8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#7C8A45 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A45
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A45 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92833F
Deuteranopia (green-blind)
#908449
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a45; /* rgb */ color: rgb(124, 138, 69); /* oklch */ color: oklch(60.6% 0.095 118.8);
Tailwind
colors: {
custom: {
50: '#a3ac7a',
500: '#7c8a45',
950: '#000000',
},
}SCSS
$custom: #7c8a45; $custom-light: #a3ac7a; $custom-dark: #000000;
JSON
{
"hex": "#7c8a45",
"rgb": {
"r": 124,
"g": 138,
"b": 69
},
"hsl": {
"h": 72.174,
"s": 33.333,
"l": 40.588
},
"oklch": {
"l": 0.60609,
"c": 0.09514,
"h": 118.8
},
"luminance": 0.22892
}Semantic roles & 50–950 ramp
primary
#7C8A45
secondary
#877DAE
accent
#5EC974
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B