#7C8B49#7C8B49
#7C8B49 is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.092 H 119.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8B49 |
|---|---|
| RGB | rgb(124, 139, 73) |
| HSL | hsl(74, 31%, 42%) |
| HSV | hsv(74, 47%, 55%) |
| CMYK | cmyk(10.8%, 0%, 47.5%, 45.5%) |
| CIE-LAB | lab(55.31, -16.32, 33.32) |
| CIE-LCH | lch(55.31, 37.10, 116.09°) |
| OKLab | oklab(60.91% -0.0457 0.08) |
| OKLCH | oklch(60.91% 0.092 119.7) |
| XYZ | xyz(18.7475, 23.2314, 9.7985) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.44
Khaki Green
#728639
ΔE00 3.21
Drab
#828344
ΔE00 4.55
Swamp
#698339
ΔE00 4.81
Drab Green
#749551
ΔE00 4.98
Moss Green
#8A9A5B
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8B49 #58498B
analogous
#8B7949 #7C8B49 #5B8B49
triadic
#7C8B49 #497C8B #8B497C
tetradic
#7C8B49 #498B79 #58498B #8B495B
square
#7C8B49 #498B79 #58498B #8B495B
split-complementary
#7C8B49 #495B8B #79498B
monochromatic
#343B1F #586334 #7C8B49 #9DAD64 #B6C38C
Accessibility & contrast
On white
3.72
#7C8B49 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#7C8B49 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8B49
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8B49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8B49 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928543
Deuteranopia (green-blind)
#91854D
Tritanopia (blue-blind)
#81857B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8b49; /* rgb */ color: rgb(124, 139, 73); /* oklch */ color: oklch(60.9% 0.092 119.7);
Tailwind
colors: {
custom: {
50: '#a3ac7d',
500: '#7c8b49',
950: '#000000',
},
}SCSS
$custom: #7c8b49; $custom-light: #a3ac7d; $custom-dark: #000000;
JSON
{
"hex": "#7c8b49",
"rgb": {
"r": 124,
"g": 139,
"b": 73
},
"hsl": {
"h": 73.636,
"s": 31.132,
"l": 41.569
},
"oklch": {
"l": 0.60905,
"c": 0.09214,
"h": 119.7
},
"luminance": 0.23231
}Semantic roles & 50–950 ramp
primary
#7C8B49
secondary
#8C81AE
accent
#60C778
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C