#78801A#78801A
#78801A is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.120 H 114.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #78801A |
|---|---|
| RGB | rgb(120, 128, 26) |
| HSL | hsl(65, 66%, 30%) |
| HSV | hsv(65, 80%, 50%) |
| CMYK | cmyk(6.3%, 0%, 79.7%, 49.8%) |
| CIE-LAB | lab(51.27, -15.92, 49.96) |
| CIE-LCH | lch(51.27, 52.44, 107.67°) |
| OKLab | oklab(57.45% -0.0491 0.1093) |
| OKLCH | oklch(57.45% 0.12 114.2) |
| XYZ | xyz(15.6518, 19.5063, 3.9177) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.75
Poop Green
#6F7C00
ΔE00 2.57
Swamp Green
#748500
ΔE00 2.95
Murky Green
#6C7A0E
ΔE00 3.20
Olive
#808000
ΔE00 3.29
Olive Green
#677A04
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78801A #221A80
analogous
#80551A #78801A #45801A
triadic
#78801A #1A7880 #801A78
tetradic
#78801A #1A8055 #221A80 #801A45
square
#78801A #1A8055 #221A80 #801A45
split-complementary
#78801A #1A4580 #551A80
monochromatic
#191A05 #484D10 #78801A #A8B324 #CBD83D
Accessibility & contrast
On white
4.28
#78801A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#78801A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78801A
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78801A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78801A | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #78801a; /* rgb */ color: rgb(120, 128, 26); /* oklch */ color: oklch(57.5% 0.120 114.2);
Tailwind
colors: {
custom: {
50: '#a2a460',
500: '#78801a',
950: '#000000',
},
}SCSS
$custom: #78801a; $custom-light: #a2a460; $custom-dark: #000000;
JSON
{
"hex": "#78801a",
"rgb": {
"r": 120,
"g": 128,
"b": 26
},
"hsl": {
"h": 64.706,
"s": 66.234,
"l": 30.196
},
"oklch": {
"l": 0.5745,
"c": 0.11978,
"h": 114.2
},
"luminance": 0.19506
}Semantic roles & 50–950 ramp
primary
#78801A
secondary
#4B42B4
accent
#3FE94C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79