#7C821A#7C821A
#7C821A is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.121 H 113.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7C821A |
|---|---|
| RGB | rgb(124, 130, 26) |
| HSL | hsl(63, 67%, 31%) |
| HSV | hsv(63, 80%, 51%) |
| CMYK | cmyk(4.6%, 0%, 80%, 49%) |
| CIE-LAB | lab(52.20, -15.16, 50.93) |
| CIE-LCH | lch(52.20, 53.14, 106.57°) |
| OKLab | oklab(58.28% -0.0472 0.1112) |
| OKLCH | oklch(58.28% 0.121 113) |
| XYZ | xyz(16.4818, 20.3253, 4.0320) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.11
Olive
#808000
ΔE00 2.62
Swamp Green
#748500
ΔE00 3.00
Poop Green
#6F7C00
ΔE00 3.47
Murky Green
#6C7A0E
ΔE00 4.29
Olive (survey)
#6E750E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C821A #201A82
analogous
#82541A #7C821A #48821A
triadic
#7C821A #1A7C82 #821A7C
tetradic
#7C821A #1A8254 #201A82 #821A48
square
#7C821A #1A8254 #201A82 #821A48
split-complementary
#7C821A #1A4882 #541A82
monochromatic
#1B1C06 #4B4F10 #7C821A #ADB524 #CFD83E
Accessibility & contrast
On white
4.15
#7C821A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#7C821A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C821A
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C821A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C821A | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7E23
Tritanopia (blue-blind)
#857A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7c821a; /* rgb */ color: rgb(124, 130, 26); /* oklch */ color: oklch(58.3% 0.121 113.0);
Tailwind
colors: {
custom: {
50: '#a5a661',
500: '#7c821a',
950: '#000000',
},
}SCSS
$custom: #7c821a; $custom-light: #a5a661; $custom-dark: #000000;
JSON
{
"hex": "#7c821a",
"rgb": {
"r": 124,
"g": 130,
"b": 26
},
"hsl": {
"h": 63.462,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.58277,
"c": 0.12077,
"h": 113
},
"luminance": 0.20325
}Semantic roles & 50–950 ramp
primary
#7C821A
secondary
#4942B6
accent
#3EEA48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A