#79871B#79871B
#79871B 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 | #79871B |
|---|---|
| RGB | rgb(121, 135, 27) |
| HSL | hsl(68, 67%, 32%) |
| HSV | hsv(68, 80%, 53%) |
| CMYK | cmyk(10.4%, 0%, 80%, 47.1%) |
| CIE-LAB | lab(53.46, -19.10, 51.66) |
| CIE-LCH | lch(53.46, 55.08, 110.29°) |
| OKLab | oklab(59.23% -0.0578 0.113) |
| OKLCH | oklch(59.23% 0.127 117.1) |
| XYZ | xyz(16.7474, 21.4722, 4.2990) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.82
Shit Green
#758000
ΔE00 2.97
Dark Yellow Green
#728F02
ΔE00 3.96
Poop Green
#6F7C00
ΔE00 4.29
Olive
#808000
ΔE00 4.67
Murky Green
#6C7A0E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79871B #291B87
analogous
#875F1B #79871B #43871B
triadic
#79871B #1B7987 #871B79
tetradic
#79871B #1B875F #291B87 #871B43
square
#79871B #1B875F #291B87 #871B43
split-complementary
#79871B #1B4387 #5F1B87
monochromatic
#1E2107 #4B5411 #79871B #A7BA25 #C6D943
Accessibility & contrast
On white
3.97
#79871B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#79871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79871B
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79871B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79871B | 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: #79871b; /* rgb */ color: rgb(121, 135, 27); /* oklch */ color: oklch(59.2% 0.127 117.1);
Tailwind
colors: {
custom: {
50: '#a3a962',
500: '#79871b',
950: '#000000',
},
}SCSS
$custom: #79871b; $custom-light: #a3a962; $custom-dark: #000000;
JSON
{
"hex": "#79871b",
"rgb": {
"r": 121,
"g": 135,
"b": 27
},
"hsl": {
"h": 67.778,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.59229,
"c": 0.12696,
"h": 117.1
},
"luminance": 0.21472
}Semantic roles & 50–950 ramp
primary
#79871B
secondary
#5344BA
accent
#3EEA54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A