#86871B#86871B
#86871B is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.123 H 110.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #86871B |
|---|---|
| RGB | rgb(134, 135, 27) |
| HSL | hsl(61, 67%, 32%) |
| HSV | hsv(61, 80%, 53%) |
| CMYK | cmyk(0.7%, 0%, 80%, 47.1%) |
| CIE-LAB | lab(54.53, -13.23, 53.02) |
| CIE-LCH | lch(54.53, 54.64, 104.01°) |
| OKLab | oklab(60.35% -0.0423 0.1154) |
| OKLCH | oklch(60.35% 0.123 110.1) |
| XYZ | xyz(18.6940, 22.4760, 4.3903) |
| Luminance | 0.2248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.85
Shit Green
#758000
ΔE00 4.33
Swamp Green
#748500
ΔE00 4.56
Baby Shit Green
#889717
ΔE00 5.90
Poop Green
#6F7C00
ΔE00 6.02
Baby Poop Green
#8F9805
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#86871B #1C1B87
analogous
#87521B #86871B #50871B
triadic
#86871B #1B8687 #871B86
tetradic
#86871B #1B8752 #1C1B87 #871B50
square
#86871B #1B8752 #1C1B87 #871B50
split-complementary
#86871B #1B5087 #521B87
monochromatic
#212107 #535411 #86871B #B9BA25 #D8D943
Accessibility & contrast
On white
3.82
#86871B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#86871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #86871B
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##86871B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##86871B | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#907E73
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #86871b; /* rgb */ color: rgb(134, 135, 27); /* oklch */ color: oklch(60.3% 0.123 110.1);
Tailwind
colors: {
custom: {
50: '#ada962',
500: '#86871b',
950: '#000000',
},
}SCSS
$custom: #86871b; $custom-light: #ada962; $custom-dark: #000000;
JSON
{
"hex": "#86871b",
"rgb": {
"r": 134,
"g": 135,
"b": 27
},
"hsl": {
"h": 60.556,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.60347,
"c": 0.12291,
"h": 110.1
},
"luminance": 0.22475
}Semantic roles & 50–950 ramp
primary
#86871B
secondary
#4544BA
accent
#3EEA40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A