#78802F#78802F
#78802F is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.105 H 114.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #78802F |
|---|---|
| RGB | rgb(120, 128, 47) |
| HSL | hsl(66, 46%, 34%) |
| HSV | hsv(66, 63%, 50%) |
| CMYK | cmyk(6.3%, 0%, 63.3%, 49.8%) |
| CIE-LAB | lab(51.42, -14.67, 41.71) |
| CIE-LCH | lch(51.42, 44.21, 109.38°) |
| OKLab | oklab(57.62% -0.0435 0.0955) |
| OKLCH | oklch(57.62% 0.105 114.5) |
| XYZ | xyz(15.9784, 19.6369, 5.6374) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.89
Drab
#828344
ΔE00 4.00
Murky Green
#6C7A0E
ΔE00 4.26
Olive Drab
#6F7632
ΔE00 4.27
Shit Green
#758000
ΔE00 4.39
Poop Green
#6F7C00
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78802F #372F80
analogous
#80602F #78802F #50802F
triadic
#78802F #2F7880 #802F78
tetradic
#78802F #2F8060 #372F80 #802F50
square
#78802F #2F8060 #372F80 #802F50
split-complementary
#78802F #2F5080 #602F80
monochromatic
#24260E #4E531F #78802F #A2AD3F #BCC663
Accessibility & contrast
On white
4.26
#78802F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#78802F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78802F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78802F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78802F | 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)
#897A25
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#80796F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #78802f; /* rgb */ color: rgb(120, 128, 47); /* oklch */ color: oklch(57.6% 0.105 114.5);
Tailwind
colors: {
custom: {
50: '#a1a46b',
500: '#78802f',
950: '#000000',
},
}SCSS
$custom: #78802f; $custom-light: #a1a46b; $custom-dark: #000000;
JSON
{
"hex": "#78802f",
"rgb": {
"r": 120,
"g": 128,
"b": 47
},
"hsl": {
"h": 65.926,
"s": 46.286,
"l": 34.314
},
"oklch": {
"l": 0.57618,
"c": 0.1049,
"h": 114.5
},
"luminance": 0.19637
}Semantic roles & 50–950 ramp
primary
#78802F
secondary
#665EAD
accent
#52D65F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A