#7A802E#7A802E
#7A802E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.105 H 113.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7A802E |
|---|---|
| RGB | rgb(122, 128, 46) |
| HSL | hsl(64, 47%, 34%) |
| HSV | hsv(64, 64%, 50%) |
| CMYK | cmyk(4.7%, 0%, 64.1%, 49.8%) |
| CIE-LAB | lab(51.58, -13.85, 42.38) |
| CIE-LCH | lch(51.58, 44.59, 108.10°) |
| OKLab | oklab(57.78% -0.0414 0.0967) |
| OKLCH | oklch(57.78% 0.105 113.2) |
| XYZ | xyz(16.2388, 19.7735, 5.5455) |
| Luminance | 0.1977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.88
Shit Green
#758000
ΔE00 4.22
Murky Green
#6C7A0E
ΔE00 4.41
Khaki Green
#728639
ΔE00 4.45
Poop Green
#6F7C00
ΔE00 4.52
Olive Drab
#6F7632
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A802E #342E80
analogous
#805D2E #7A802E #51802E
triadic
#7A802E #2E7A80 #802E7A
tetradic
#7A802E #2E805D #342E80 #802E51
square
#7A802E #2E805D #342E80 #802E51
split-complementary
#7A802E #2E5180 #5D2E80
monochromatic
#24260E #4F531E #7A802E #A5AD3E #BFC762
Accessibility & contrast
On white
4.24
#7A802E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7A802E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A802E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A802E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A802E | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#82796F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7a802e; /* rgb */ color: rgb(122, 128, 46); /* oklch */ color: oklch(57.8% 0.105 113.2);
Tailwind
colors: {
custom: {
50: '#a3a46b',
500: '#7a802e',
950: '#000000',
},
}SCSS
$custom: #7a802e; $custom-light: #a3a46b; $custom-dark: #000000;
JSON
{
"hex": "#7a802e",
"rgb": {
"r": 122,
"g": 128,
"b": 46
},
"hsl": {
"h": 64.39,
"s": 47.126,
"l": 34.118
},
"oklch": {
"l": 0.57781,
"c": 0.1052,
"h": 113.2
},
"luminance": 0.19773
}Semantic roles & 50–950 ramp
primary
#7A802E
secondary
#635DAD
accent
#51D75B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A