#78801B#78801B
#78801B 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 | #78801B |
|---|---|
| RGB | rgb(120, 128, 27) |
| HSL | hsl(65, 65%, 30%) |
| HSV | hsv(65, 79%, 50%) |
| CMYK | cmyk(6.3%, 0%, 78.9%, 49.8%) |
| CIE-LAB | lab(51.28, -15.87, 49.64) |
| CIE-LCH | lch(51.28, 52.11, 107.73°) |
| OKLab | oklab(57.46% -0.0489 0.1088) |
| OKLCH | oklch(57.46% 0.119 114.2) |
| XYZ | xyz(15.6632, 19.5109, 3.9776) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.85
Poop Green
#6F7C00
ΔE00 2.62
Swamp Green
#748500
ΔE00 3.00
Murky Green
#6C7A0E
ΔE00 3.21
Olive
#808000
ΔE00 3.36
Olive Green
#677A04
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78801B #231B80
analogous
#80551B #78801B #46801B
triadic
#78801B #1B7880 #801B78
tetradic
#78801B #1B8055 #231B80 #801B46
square
#78801B #1B8055 #231B80 #801B46
split-complementary
#78801B #1B4680 #551B80
monochromatic
#191B06 #494D10 #78801B #A7B326 #CAD63F
Accessibility & contrast
On white
4.28
#78801B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#78801B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78801B
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78801B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78801B | 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)
#8A7901
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#80786D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #78801b; /* rgb */ color: rgb(120, 128, 27); /* oklch */ color: oklch(57.5% 0.119 114.2);
Tailwind
colors: {
custom: {
50: '#a2a461',
500: '#78801b',
950: '#000000',
},
}SCSS
$custom: #78801b; $custom-light: #a2a461; $custom-dark: #000000;
JSON
{
"hex": "#78801b",
"rgb": {
"r": 120,
"g": 128,
"b": 27
},
"hsl": {
"h": 64.752,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.57456,
"c": 0.11924,
"h": 114.2
},
"luminance": 0.19511
}Semantic roles & 50–950 ramp
primary
#78801B
secondary
#4C43B4
accent
#40E84D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A