#78801F#78801F
#78801F is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.117 H 114.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #78801F |
|---|---|
| RGB | rgb(120, 128, 31) |
| HSL | hsl(65, 61%, 31%) |
| HSV | hsv(65, 76%, 50%) |
| CMYK | cmyk(6.3%, 0%, 75.8%, 49.8%) |
| CIE-LAB | lab(51.30, -15.68, 48.26) |
| CIE-LCH | lch(51.30, 50.74, 108.00°) |
| OKLab | oklab(57.48% -0.048 0.1066) |
| OKLCH | oklch(57.48% 0.117 114.2) |
| XYZ | xyz(15.7127, 19.5306, 4.2381) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.25
Poop Green
#6F7C00
ΔE00 2.85
Swamp Green
#748500
ΔE00 3.25
Murky Green
#6C7A0E
ΔE00 3.25
Olive
#808000
ΔE00 3.69
Olive (survey)
#6E750E
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78801F #271F80
analogous
#80571F #78801F #47801F
triadic
#78801F #1F7880 #801F78
tetradic
#78801F #1F8057 #271F80 #801F47
square
#78801F #1F8057 #271F80 #801F47
split-complementary
#78801F #1F4780 #571F80
monochromatic
#1C1D07 #4A4F13 #78801F #A6B12B #C7D247
Accessibility & contrast
On white
4.28
#78801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#78801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78801F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78801F | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A790B
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #78801f; /* rgb */ color: rgb(120, 128, 31); /* oklch */ color: oklch(57.5% 0.117 114.2);
Tailwind
colors: {
custom: {
50: '#a2a463',
500: '#78801f',
950: '#000000',
},
}SCSS
$custom: #78801f; $custom-light: #a2a463; $custom-dark: #000000;
JSON
{
"hex": "#78801f",
"rgb": {
"r": 120,
"g": 128,
"b": 31
},
"hsl": {
"h": 64.948,
"s": 61.006,
"l": 31.176
},
"oklch": {
"l": 0.57482,
"c": 0.1169,
"h": 114.2
},
"luminance": 0.1953
}Semantic roles & 50–950 ramp
primary
#78801F
secondary
#5148B3
accent
#44E451
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A