#8B891B#8B891B
#8B891B is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.124 H 108.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8B891B |
|---|---|
| RGB | rgb(139, 137, 27) |
| HSL | hsl(59, 67%, 33%) |
| HSV | hsv(59, 81%, 55%) |
| CMYK | cmyk(0%, 1.4%, 80.6%, 45.5%) |
| CIE-LAB | lab(55.54, -12.02, 54.09) |
| CIE-LCH | lch(55.54, 55.41, 102.53°) |
| OKLab | oklab(61.26% -0.0392 0.1175) |
| OKLCH | oklch(61.26% 0.124 108.5) |
| XYZ | xyz(19.7917, 23.4601, 4.5224) |
| Luminance | 0.2346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.64
Baby Poop Green
#8F9805
ΔE00 5.55
Shit Green
#758000
ΔE00 5.57
Swamp Green
#748500
ΔE00 5.72
Baby Shit Green
#889717
ΔE00 5.77
Pea Soup
#929901
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B891B #1B1D8B
analogous
#8B511B #8B891B #558B1B
triadic
#8B891B #1B8B89 #891B8B
tetradic
#8B891B #1B8B51 #1B1D8B #8B1B55
square
#8B891B #1B8B51 #1B1D8B #8B1B55
split-complementary
#8B891B #1B558B #511B8B
monochromatic
#252407 #585611 #8B891B #BEBC25 #DBD845
Accessibility & contrast
On white
3.69
#8B891B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#8B891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B891B
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B891B | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#968075
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8b891b; /* rgb */ color: rgb(139, 137, 27); /* oklch */ color: oklch(61.3% 0.124 108.5);
Tailwind
colors: {
custom: {
50: '#b0ab62',
500: '#8b891b',
950: '#000000',
},
}SCSS
$custom: #8b891b; $custom-light: #b0ab62; $custom-dark: #000000;
JSON
{
"hex": "#8b891b",
"rgb": {
"r": 139,
"g": 137,
"b": 27
},
"hsl": {
"h": 58.929,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.61263,
"c": 0.12384,
"h": 108.5
},
"luminance": 0.23459
}Semantic roles & 50–950 ramp
primary
#8B891B
secondary
#4547BC
accent
#41EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A