#78871A#78871A
#78871A is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.1% C 0.128 H 117.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #78871A |
|---|---|
| RGB | rgb(120, 135, 26) |
| HSL | hsl(68, 68%, 32%) |
| HSV | hsv(68, 81%, 53%) |
| CMYK | cmyk(11.1%, 0%, 80.7%, 47.1%) |
| CIE-LAB | lab(53.38, -19.58, 51.87) |
| CIE-LCH | lch(53.38, 55.44, 110.69°) |
| OKLab | oklab(59.14% -0.0592 0.1133) |
| OKLCH | oklch(59.14% 0.128 117.6) |
| XYZ | xyz(16.5966, 21.3958, 4.2326) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.69
Shit Green
#758000
ΔE00 2.98
Dark Yellow Green
#728F02
ΔE00 3.79
Poop Green
#6F7C00
ΔE00 4.24
Olive
#808000
ΔE00 4.85
Olivedrab
#6B8E23
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78871A #291A87
analogous
#87601A #78871A #42871A
triadic
#78871A #1A7887 #871A78
tetradic
#78871A #1A8760 #291A87 #871A42
square
#78871A #1A8760 #291A87 #871A42
split-complementary
#78871A #1A4287 #601A87
monochromatic
#1D2006 #4A5410 #78871A #A6BA24 #C5DA41
Accessibility & contrast
On white
3.98
#78871A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#78871A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78871A
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78871A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78871A | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#807F73
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #78871a; /* rgb */ color: rgb(120, 135, 26); /* oklch */ color: oklch(59.1% 0.128 117.6);
Tailwind
colors: {
custom: {
50: '#a2a961',
500: '#78871a',
950: '#000000',
},
}SCSS
$custom: #78871a; $custom-light: #a2a961; $custom-dark: #000000;
JSON
{
"hex": "#78871a",
"rgb": {
"r": 120,
"g": 135,
"b": 26
},
"hsl": {
"h": 68.257,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.59142,
"c": 0.12786,
"h": 117.6
},
"luminance": 0.21396
}Semantic roles & 50–950 ramp
primary
#78871A
secondary
#5342BA
accent
#3DEB55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A