#7C824A#7C824A
#7C824A is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.078 H 113.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7C824A |
|---|---|
| RGB | rgb(124, 130, 74) |
| HSL | hsl(66, 27%, 40%) |
| HSV | hsv(66, 43%, 51%) |
| CMYK | cmyk(4.6%, 0%, 43.1%, 49%) |
| CIE-LAB | lab(52.67, -11.37, 29.51) |
| CIE-LCH | lch(52.67, 31.63, 111.08°) |
| OKLab | oklab(58.8% -0.0316 0.0715) |
| OKLCH | oklch(58.8% 0.078 113.8) |
| XYZ | xyz(17.5310, 20.7450, 9.5579) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.45
Khaki Green
#728639
ΔE00 4.98
Camo
#7F8F4E
ΔE00 5.00
Olive Drab
#6F7632
ΔE00 5.60
Military Green
#667C3E
ΔE00 5.80
Swamp
#698339
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C824A #504A82
analogous
#826C4A #7C824A #60824A
triadic
#7C824A #4A7C82 #824A7C
tetradic
#7C824A #4A826C #504A82 #824A60
square
#7C824A #4A826C #504A82 #824A60
split-complementary
#7C824A #4A6082 #6C4A82
monochromatic
#32341E #575B34 #7C824A #9FA663 #B7BC8A
Accessibility & contrast
On white
4.08
#7C824A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#7C824A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C824A
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C824A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C824A | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897D46
Deuteranopia (green-blind)
#897E4D
Tritanopia (blue-blind)
#827C74
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7c824a; /* rgb */ color: rgb(124, 130, 74); /* oklch */ color: oklch(58.8% 0.078 113.8);
Tailwind
colors: {
custom: {
50: '#a3a67d',
500: '#7c824a',
950: '#000000',
},
}SCSS
$custom: #7c824a; $custom-light: #a3a67d; $custom-dark: #000000;
JSON
{
"hex": "#7c824a",
"rgb": {
"r": 124,
"g": 130,
"b": 74
},
"hsl": {
"h": 66.429,
"s": 27.451,
"l": 40
},
"oklch": {
"l": 0.588,
"c": 0.0782,
"h": 113.8
},
"luminance": 0.20745
}Semantic roles & 50–950 ramp
primary
#7C824A
secondary
#847FA8
accent
#64C46E
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F0A
muted
#7F7F7C