#78801C#78801C
#78801C is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.119 H 114.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #78801C |
|---|---|
| RGB | rgb(120, 128, 28) |
| HSL | hsl(65, 64%, 31%) |
| HSV | hsv(65, 78%, 50%) |
| CMYK | cmyk(6.3%, 0%, 78.1%, 49.8%) |
| CIE-LAB | lab(51.29, -15.83, 49.30) |
| CIE-LCH | lch(51.29, 51.78, 107.80°) |
| OKLab | oklab(57.46% -0.0487 0.1082) |
| OKLCH | oklch(57.46% 0.119 114.2) |
| XYZ | xyz(15.6750, 19.5156, 4.0395) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.94
Poop Green
#6F7C00
ΔE00 2.67
Swamp Green
#748500
ΔE00 3.06
Murky Green
#6C7A0E
ΔE00 3.21
Olive
#808000
ΔE00 3.44
Olive (survey)
#6E750E
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78801C #241C80
analogous
#80561C #78801C #46801C
triadic
#78801C #1C7880 #801C78
tetradic
#78801C #1C8056 #241C80 #801C46
square
#78801C #1C8056 #241C80 #801C46
split-complementary
#78801C #1C4680 #561C80
monochromatic
#1A1C06 #494E11 #78801C #A7B227 #CAD541
Accessibility & contrast
On white
4.28
#78801C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#78801C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78801C
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78801C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78801C | 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)
#8A7904
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #78801c; /* rgb */ color: rgb(120, 128, 28); /* oklch */ color: oklch(57.5% 0.119 114.2);
Tailwind
colors: {
custom: {
50: '#a2a461',
500: '#78801c',
950: '#000000',
},
}SCSS
$custom: #78801c; $custom-light: #a2a461; $custom-dark: #000000;
JSON
{
"hex": "#78801c",
"rgb": {
"r": 120,
"g": 128,
"b": 28
},
"hsl": {
"h": 64.8,
"s": 64.103,
"l": 30.588
},
"oklch": {
"l": 0.57462,
"c": 0.11868,
"h": 114.2
},
"luminance": 0.19515
}Semantic roles & 50–950 ramp
primary
#78801C
secondary
#4D44B3
accent
#41E74E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A