#7C8A51#7C8A51
#7C8A51 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.081 H 120.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A51 |
|---|---|
| RGB | rgb(124, 138, 81) |
| HSL | hsl(75, 26%, 43%) |
| HSV | hsv(75, 41%, 54%) |
| CMYK | cmyk(10.1%, 0%, 41.3%, 45.9%) |
| CIE-LAB | lab(55.13, -14.83, 28.82) |
| CIE-LCH | lch(55.13, 32.41, 117.22°) |
| OKLab | oklab(60.8% -0.0409 0.0704) |
| OKLCH | oklch(60.8% 0.081 120.1) |
| XYZ | xyz(18.8859, 23.0562, 11.2383) |
| Luminance | 0.2306 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.24
Khaki Green
#728639
ΔE00 4.53
Drab
#828344
ΔE00 4.80
Drab Green
#749551
ΔE00 5.29
Moss Green
#8A9A5B
ΔE00 5.44
Swamp
#698339
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A51 #5F518A
analogous
#8A7B51 #7C8A51 #5F8A51
triadic
#7C8A51 #517C8A #8A517C
tetradic
#7C8A51 #518A7B #5F518A #8A515F
square
#7C8A51 #518A7B #5F518A #8A515F
split-complementary
#7C8A51 #515F8A #7B518A
monochromatic
#373D24 #59633A #7C8A51 #9BAA6E #B6C195
Accessibility & contrast
On white
3.74
#7C8A51 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#7C8A51 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A51
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A51 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91844D
Deuteranopia (green-blind)
#8F8454
Tritanopia (blue-blind)
#81857C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a51; /* rgb */ color: rgb(124, 138, 81); /* oklch */ color: oklch(60.8% 0.081 120.1);
Tailwind
colors: {
custom: {
50: '#a3ac83',
500: '#7c8a51',
950: '#000000',
},
}SCSS
$custom: #7c8a51; $custom-light: #a3ac83; $custom-dark: #000000;
JSON
{
"hex": "#7c8a51",
"rgb": {
"r": 124,
"g": 138,
"b": 81
},
"hsl": {
"h": 74.737,
"s": 26.027,
"l": 42.941
},
"oklch": {
"l": 0.60799,
"c": 0.08137,
"h": 120.1
},
"luminance": 0.23056
}Semantic roles & 50–950 ramp
primary
#7C8A51
secondary
#9289AE
accent
#65C27C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C