#7C802A#7C802A
#7C802A is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.9% C 0.108 H 111.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7C802A |
|---|---|
| RGB | rgb(124, 128, 42) |
| HSL | hsl(63, 51%, 33%) |
| HSV | hsv(63, 67%, 50%) |
| CMYK | cmyk(3.1%, 0%, 67.2%, 49.8%) |
| CIE-LAB | lab(51.71, -13.23, 44.36) |
| CIE-LCH | lch(51.71, 46.29, 106.61°) |
| OKLab | oklab(57.92% -0.0402 0.1002) |
| OKLCH | oklch(57.92% 0.108 111.9) |
| XYZ | xyz(16.4497, 19.8910, 5.1628) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 3.77
Olive
#808000
ΔE00 4.11
Drab
#828344
ΔE00 4.26
Poop Green
#6F7C00
ΔE00 4.32
Murky Green
#6C7A0E
ΔE00 4.46
Swamp Green
#748500
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C802A #2E2A80
analogous
#80592A #7C802A #51802A
triadic
#7C802A #2A7C80 #802A7C
tetradic
#7C802A #2A8059 #2E2A80 #802A51
square
#7C802A #2A8059 #2E2A80 #802A51
split-complementary
#7C802A #2A5180 #592A80
monochromatic
#23240C #4F521B #7C802A #A9AE39 #C4C95B
Accessibility & contrast
On white
4.22
#7C802A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#7C802A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C802A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C802A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C802A | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A1E
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#84786E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7c802a; /* rgb */ color: rgb(124, 128, 42); /* oklch */ color: oklch(57.9% 0.108 111.9);
Tailwind
colors: {
custom: {
50: '#a4a468',
500: '#7c802a',
950: '#000000',
},
}SCSS
$custom: #7c802a; $custom-light: #a4a468; $custom-dark: #000000;
JSON
{
"hex": "#7c802a",
"rgb": {
"r": 124,
"g": 128,
"b": 42
},
"hsl": {
"h": 62.791,
"s": 50.588,
"l": 33.333
},
"oklch": {
"l": 0.57918,
"c": 0.10798,
"h": 111.9
},
"luminance": 0.19891
}Semantic roles & 50–950 ramp
primary
#7C802A
secondary
#5B57AF
accent
#4EDA54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A