#86871F#86871F
#86871F is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.4% C 0.121 H 110.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #86871F |
|---|---|
| RGB | rgb(134, 135, 31) |
| HSL | hsl(61, 63%, 33%) |
| HSV | hsv(61, 77%, 53%) |
| CMYK | cmyk(0.7%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(54.55, -13.06, 51.72) |
| CIE-LCH | lch(54.55, 53.35, 104.17°) |
| OKLab | oklab(60.37% -0.0415 0.1134) |
| OKLCH | oklch(60.37% 0.121 110.1) |
| XYZ | xyz(18.7435, 22.4958, 4.6508) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.04
Shit Green
#758000
ΔE00 4.40
Swamp Green
#748500
ΔE00 4.62
Baby Shit Green
#889717
ΔE00 5.96
Poop Green
#6F7C00
ΔE00 6.04
Baby Poop Green
#8F9805
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#86871F #201F87
analogous
#87541F #86871F #52871F
triadic
#86871F #1F8687 #871F86
tetradic
#86871F #1F8754 #201F87 #871F52
square
#86871F #1F8754 #201F87 #871F52
split-complementary
#86871F #1F5287 #541F87
monochromatic
#232308 #555514 #86871F #B7B92A #D4D64B
Accessibility & contrast
On white
3.82
#86871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#86871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #86871F
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##86871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##86871F | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#907E73
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #86871f; /* rgb */ color: rgb(134, 135, 31); /* oklch */ color: oklch(60.4% 0.121 110.1);
Tailwind
colors: {
custom: {
50: '#ada964',
500: '#86871f',
950: '#000000',
},
}SCSS
$custom: #86871f; $custom-light: #ada964; $custom-dark: #000000;
JSON
{
"hex": "#86871f",
"rgb": {
"r": 134,
"g": 135,
"b": 31
},
"hsl": {
"h": 60.577,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.6037,
"c": 0.12076,
"h": 110.1
},
"luminance": 0.22495
}Semantic roles & 50–950 ramp
primary
#86871F
secondary
#4B4AB8
accent
#42E644
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A