#7C822A#7C822A
#7C822A is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.110 H 113.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7C822A |
|---|---|
| RGB | rgb(124, 130, 42) |
| HSL | hsl(64, 51%, 34%) |
| HSV | hsv(64, 68%, 51%) |
| CMYK | cmyk(4.6%, 0%, 67.7%, 49%) |
| CIE-LAB | lab(52.31, -14.30, 44.97) |
| CIE-LCH | lch(52.31, 47.19, 107.64°) |
| OKLab | oklab(58.39% -0.0433 0.1015) |
| OKLCH | oklch(58.39% 0.11 113.1) |
| XYZ | xyz(16.7132, 20.4179, 5.2507) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.60
Swamp Green
#748500
ΔE00 4.15
Olive
#808000
ΔE00 4.23
Poop Green
#6F7C00
ΔE00 4.35
Drab
#828344
ΔE00 4.38
Murky Green
#6C7A0E
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C822A #302A82
analogous
#825C2A #7C822A #50822A
triadic
#7C822A #2A7C82 #822A7C
tetradic
#7C822A #2A825C #302A82 #822A50
square
#7C822A #2A825C #302A82 #822A50
split-complementary
#7C822A #2A5082 #5C2A82
monochromatic
#24250C #50541B #7C822A #A8B039 #C3CA5C
Accessibility & contrast
On white
4.13
#7C822A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#7C822A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C822A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C822A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C822A | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#847A70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7c822a; /* rgb */ color: rgb(124, 130, 42); /* oklch */ color: oklch(58.4% 0.110 113.1);
Tailwind
colors: {
custom: {
50: '#a4a669',
500: '#7c822a',
950: '#000000',
},
}SCSS
$custom: #7c822a; $custom-light: #a4a669; $custom-dark: #000000;
JSON
{
"hex": "#7c822a",
"rgb": {
"r": 124,
"g": 130,
"b": 42
},
"hsl": {
"h": 64.091,
"s": 51.163,
"l": 33.725
},
"oklch": {
"l": 0.58392,
"c": 0.11033,
"h": 113.1
},
"luminance": 0.20418
}Semantic roles & 50–950 ramp
primary
#7C822A
secondary
#5E58B0
accent
#4DDB57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A