#7C844A#7C844A
#7C844A is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.3% C 0.081 H 115.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7C844A |
|---|---|
| RGB | rgb(124, 132, 74) |
| HSL | hsl(68, 28%, 40%) |
| HSV | hsv(68, 44%, 52%) |
| CMYK | cmyk(6.1%, 0%, 43.9%, 48.2%) |
| CIE-LAB | lab(53.26, -12.46, 30.25) |
| CIE-LCH | lch(53.26, 32.71, 112.39°) |
| OKLab | oklab(59.27% -0.0347 0.0732) |
| OKLCH | oklch(59.27% 0.081 115.4) |
| XYZ | xyz(17.7996, 21.2822, 9.6474) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.63
Camo
#7F8F4E
ΔE00 4.12
Khaki Green
#728639
ΔE00 4.35
Swamp
#698339
ΔE00 5.44
Military Green
#667C3E
ΔE00 5.73
Olive Drab
#6F7632
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C844A #524A84
analogous
#846F4A #7C844A #5F844A
triadic
#7C844A #4A7C84 #844A7C
tetradic
#7C844A #4A846F #524A84 #844A5F
square
#7C844A #4A846F #524A84 #844A5F
split-complementary
#7C844A #4A5F84 #6F4A84
monochromatic
#32361E #575D34 #7C844A #9EA863 #B7BE8B
Accessibility & contrast
On white
4.00
#7C844A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#7C844A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C844A
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C844A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C844A | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7F45
Deuteranopia (green-blind)
#8B804D
Tritanopia (blue-blind)
#827E76
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7c844a; /* rgb */ color: rgb(124, 132, 74); /* oklch */ color: oklch(59.3% 0.081 115.4);
Tailwind
colors: {
custom: {
50: '#a3a77d',
500: '#7c844a',
950: '#000000',
},
}SCSS
$custom: #7c844a; $custom-light: #a3a77d; $custom-dark: #000000;
JSON
{
"hex": "#7c844a",
"rgb": {
"r": 124,
"g": 132,
"b": 74
},
"hsl": {
"h": 68.276,
"s": 28.155,
"l": 40.392
},
"oklch": {
"l": 0.59268,
"c": 0.081,
"h": 115.4
},
"luminance": 0.21282
}Semantic roles & 50–950 ramp
primary
#7C844A
secondary
#8680AA
accent
#63C471
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F0A
muted
#7F7F7C