#78802E#78802E
#78802E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.106 H 114.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #78802E |
|---|---|
| RGB | rgb(120, 128, 46) |
| HSL | hsl(66, 47%, 34%) |
| HSV | hsv(66, 64%, 50%) |
| CMYK | cmyk(6.3%, 0%, 64.1%, 49.8%) |
| CIE-LAB | lab(51.41, -14.74, 42.16) |
| CIE-LCH | lch(51.41, 44.66, 109.28°) |
| OKLab | oklab(57.61% -0.0438 0.0963) |
| OKLCH | oklch(57.61% 0.106 114.5) |
| XYZ | xyz(15.9584, 19.6289, 5.5323) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.96
Drab
#828344
ΔE00 4.12
Murky Green
#6C7A0E
ΔE00 4.16
Shit Green
#758000
ΔE00 4.23
Olive Drab
#6F7632
ΔE00 4.34
Poop Green
#6F7C00
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78802E #362E80
analogous
#805F2E #78802E #4F802E
triadic
#78802E #2E7880 #802E78
tetradic
#78802E #2E805F #362E80 #802E4F
square
#78802E #2E805F #362E80 #802E4F
split-complementary
#78802E #2E4F80 #5F2E80
monochromatic
#24260E #4E531E #78802E #A2AD3E #BDC762
Accessibility & contrast
On white
4.26
#78802E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#78802E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78802E
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78802E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78802E | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#80796F
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #78802e; /* rgb */ color: rgb(120, 128, 46); /* oklch */ color: oklch(57.6% 0.106 114.5);
Tailwind
colors: {
custom: {
50: '#a1a46b',
500: '#78802e',
950: '#000000',
},
}SCSS
$custom: #78802e; $custom-light: #a1a46b; $custom-dark: #000000;
JSON
{
"hex": "#78802e",
"rgb": {
"r": 120,
"g": 128,
"b": 46
},
"hsl": {
"h": 65.854,
"s": 47.126,
"l": 34.118
},
"oklch": {
"l": 0.57608,
"c": 0.10577,
"h": 114.5
},
"luminance": 0.19629
}Semantic roles & 50–950 ramp
primary
#78802E
secondary
#645DAD
accent
#51D75E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A