#8B861B#8B861B
#8B861B is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.121 H 106.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8B861B |
|---|---|
| RGB | rgb(139, 134, 27) |
| HSL | hsl(57, 67%, 33%) |
| HSV | hsv(57, 81%, 55%) |
| CMYK | cmyk(0%, 3.6%, 80.6%, 45.5%) |
| CIE-LAB | lab(54.68, -10.40, 53.32) |
| CIE-LCH | lch(54.68, 54.32, 101.04°) |
| OKLab | oklab(60.57% -0.0347 0.1158) |
| OKLCH | oklch(60.57% 0.121 106.7) |
| XYZ | xyz(19.3712, 22.6190, 4.3822) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.13
Shit Green
#758000
ΔE00 5.60
Swamp Green
#748500
ΔE00 6.19
Baby Poop
#937C00
ΔE00 6.23
Baby Poop Green
#8F9805
ΔE00 6.74
Pea Soup
#929901
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B861B #1B208B
analogous
#8B4E1B #8B861B #588B1B
triadic
#8B861B #1B8B86 #861B8B
tetradic
#8B861B #1B8B4E #1B208B #8B1B58
square
#8B861B #1B8B4E #1B208B #8B1B58
split-complementary
#8B861B #1B588B #4E1B8B
monochromatic
#252307 #585511 #8B861B #BEB725 #DBD445
Accessibility & contrast
On white
3.80
#8B861B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#8B861B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B861B
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B861B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B861B | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#967C72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8b861b; /* rgb */ color: rgb(139, 134, 27); /* oklch */ color: oklch(60.6% 0.121 106.7);
Tailwind
colors: {
custom: {
50: '#b0a862',
500: '#8b861b',
950: '#000000',
},
}SCSS
$custom: #8b861b; $custom-light: #b0a862; $custom-dark: #000000;
JSON
{
"hex": "#8b861b",
"rgb": {
"r": 139,
"g": 134,
"b": 27
},
"hsl": {
"h": 57.321,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.60573,
"c": 0.12091,
"h": 106.7
},
"luminance": 0.22618
}Semantic roles & 50–950 ramp
primary
#8B861B
secondary
#454BBC
accent
#45EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A