#8B881B#8B881B
#8B881B is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.123 H 107.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8B881B |
|---|---|
| RGB | rgb(139, 136, 27) |
| HSL | hsl(58, 67%, 33%) |
| HSV | hsv(58, 81%, 55%) |
| CMYK | cmyk(0%, 2.2%, 80.6%, 45.5%) |
| CIE-LAB | lab(55.25, -11.48, 53.83) |
| CIE-LCH | lch(55.25, 55.04, 102.04°) |
| OKLab | oklab(61.03% -0.0377 0.1169) |
| OKLCH | oklch(61.03% 0.123 107.9) |
| XYZ | xyz(19.6502, 23.1771, 4.4752) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.43
Shit Green
#758000
ΔE00 5.54
Swamp Green
#748500
ΔE00 5.84
Baby Poop Green
#8F9805
ΔE00 5.94
Pea Soup
#929901
ΔE00 6.17
Baby Shit Green
#889717
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B881B #1B1E8B
analogous
#8B501B #8B881B #568B1B
triadic
#8B881B #1B8B88 #881B8B
tetradic
#8B881B #1B8B50 #1B1E8B #8B1B56
square
#8B881B #1B8B50 #1B1E8B #8B1B56
split-complementary
#8B881B #1B568B #501B8B
monochromatic
#252407 #585611 #8B881B #BEBA25 #DBD745
Accessibility & contrast
On white
3.73
#8B881B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#8B881B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B881B
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B881B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B881B | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#967F74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8b881b; /* rgb */ color: rgb(139, 136, 27); /* oklch */ color: oklch(61.0% 0.123 107.9);
Tailwind
colors: {
custom: {
50: '#b0aa62',
500: '#8b881b',
950: '#000000',
},
}SCSS
$custom: #8b881b; $custom-light: #b0aa62; $custom-dark: #000000;
JSON
{
"hex": "#8b881b",
"rgb": {
"r": 139,
"g": 136,
"b": 27
},
"hsl": {
"h": 58.393,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.61033,
"c": 0.12285,
"h": 107.9
},
"luminance": 0.23176
}Semantic roles & 50–950 ramp
primary
#8B881B
secondary
#4549BC
accent
#42EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A