#78881A#78881A
#78881A is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.4% C 0.129 H 118.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #78881A |
|---|---|
| RGB | rgb(120, 136, 26) |
| HSL | hsl(69, 68%, 32%) |
| HSV | hsv(69, 81%, 53%) |
| CMYK | cmyk(11.8%, 0%, 80.9%, 46.7%) |
| CIE-LAB | lab(53.68, -20.10, 52.14) |
| CIE-LCH | lch(53.68, 55.88, 111.08°) |
| OKLab | oklab(59.38% -0.0606 0.1139) |
| OKLCH | oklch(59.38% 0.129 118) |
| XYZ | xyz(16.7367, 21.6761, 4.2793) |
| Luminance | 0.2168 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.82
Shit Green
#758000
ΔE00 3.30
Dark Yellow Green
#728F02
ΔE00 3.44
Poop Green
#6F7C00
ΔE00 4.57
Olivedrab
#6B8E23
ΔE00 4.66
Khaki Green
#728639
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78881A #2A1A88
analogous
#88611A #78881A #41881A
triadic
#78881A #1A7888 #881A78
tetradic
#78881A #1A8861 #2A1A88 #881A41
square
#78881A #1A8861 #2A1A88 #881A41
split-complementary
#78881A #1A4188 #611A88
monochromatic
#1D2106 #4B5510 #78881A #A5BB24 #C5DB42
Accessibility & contrast
On white
3.94
#78881A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#78881A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78881A
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78881A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78881A | 1.00 | 3.94 | 5.34 | 5.34 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#808074
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #78881a; /* rgb */ color: rgb(120, 136, 26); /* oklch */ color: oklch(59.4% 0.129 118.0);
Tailwind
colors: {
custom: {
50: '#a2aa61',
500: '#78881a',
950: '#000000',
},
}SCSS
$custom: #78881a; $custom-light: #a2aa61; $custom-dark: #000000;
JSON
{
"hex": "#78881a",
"rgb": {
"r": 120,
"g": 136,
"b": 26
},
"hsl": {
"h": 68.727,
"s": 67.901,
"l": 31.765
},
"oklch": {
"l": 0.59384,
"c": 0.12903,
"h": 118
},
"luminance": 0.21676
}Semantic roles & 50–950 ramp
primary
#78881A
secondary
#5443BB
accent
#3DEB56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A