#79871A#79871A
#79871A is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.2% C 0.127 H 117.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #79871A |
|---|---|
| RGB | rgb(121, 135, 26) |
| HSL | hsl(68, 68%, 32%) |
| HSV | hsv(68, 81%, 53%) |
| CMYK | cmyk(10.4%, 0%, 80.7%, 47.1%) |
| CIE-LAB | lab(53.46, -19.14, 51.97) |
| CIE-LCH | lch(53.46, 55.38, 110.22°) |
| OKLab | oklab(59.22% -0.058 0.1135) |
| OKLCH | oklch(59.22% 0.127 117.1) |
| XYZ | xyz(16.7360, 21.4677, 4.2391) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.75
Shit Green
#758000
ΔE00 2.92
Dark Yellow Green
#728F02
ΔE00 3.93
Poop Green
#6F7C00
ΔE00 4.27
Olive
#808000
ΔE00 4.63
Murky Green
#6C7A0E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79871A #281A87
analogous
#875F1A #79871A #43871A
triadic
#79871A #1A7987 #871A79
tetradic
#79871A #1A875F #281A87 #871A43
square
#79871A #1A875F #281A87 #871A43
split-complementary
#79871A #1A4387 #5F1A87
monochromatic
#1D2006 #4B5410 #79871A #A7BA24 #C7DA41
Accessibility & contrast
On white
3.97
#79871A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#79871A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79871A
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79871A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79871A | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#817F73
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #79871a; /* rgb */ color: rgb(121, 135, 26); /* oklch */ color: oklch(59.2% 0.127 117.1);
Tailwind
colors: {
custom: {
50: '#a3a961',
500: '#79871a',
950: '#000000',
},
}SCSS
$custom: #79871a; $custom-light: #a3a961; $custom-dark: #000000;
JSON
{
"hex": "#79871a",
"rgb": {
"r": 121,
"g": 135,
"b": 26
},
"hsl": {
"h": 67.706,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.59224,
"c": 0.12747,
"h": 117.1
},
"luminance": 0.21467
}Semantic roles & 50–950 ramp
primary
#79871A
secondary
#5242BA
accent
#3DEB53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A