#79871F#79871F
#79871F is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.125 H 117.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #79871F |
|---|---|
| RGB | rgb(121, 135, 31) |
| HSL | hsl(68, 63%, 33%) |
| HSV | hsv(68, 77%, 53%) |
| CMYK | cmyk(10.4%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(53.48, -18.91, 50.35) |
| CIE-LCH | lch(53.48, 53.78, 110.59°) |
| OKLab | oklab(59.25% -0.057 0.111) |
| OKLCH | oklch(59.25% 0.125 117.2) |
| XYZ | xyz(16.7969, 21.4920, 4.5596) |
| Luminance | 0.2149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.15
Shit Green
#758000
ΔE00 3.19
Dark Yellow Green
#728F02
ΔE00 4.08
Poop Green
#6F7C00
ΔE00 4.41
Khaki Green
#728639
ΔE00 4.66
Olive
#808000
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#79871F #2D1F87
analogous
#87611F #79871F #45871F
triadic
#79871F #1F7987 #871F79
tetradic
#79871F #1F8761 #2D1F87 #871F45
square
#79871F #1F8761 #2D1F87 #871F45
split-complementary
#79871F #1F4587 #611F87
monochromatic
#202308 #4C5514 #79871F #A6B92A #C3D64B
Accessibility & contrast
On white
3.96
#79871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#79871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #79871F
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##79871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##79871F | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F07
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#817F73
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #79871f; /* rgb */ color: rgb(121, 135, 31); /* oklch */ color: oklch(59.3% 0.125 117.2);
Tailwind
colors: {
custom: {
50: '#a3a963',
500: '#79871f',
950: '#000000',
},
}SCSS
$custom: #79871f; $custom-light: #a3a963; $custom-dark: #000000;
JSON
{
"hex": "#79871f",
"rgb": {
"r": 121,
"g": 135,
"b": 31
},
"hsl": {
"h": 68.077,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.59253,
"c": 0.12475,
"h": 117.2
},
"luminance": 0.21492
}Semantic roles & 50–950 ramp
primary
#79871F
secondary
#584AB8
accent
#42E658
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A