#8D891B#8D891B
#8D891B is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.123 H 107.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8D891B |
|---|---|
| RGB | rgb(141, 137, 27) |
| HSL | hsl(58, 68%, 33%) |
| HSV | hsv(58, 81%, 55%) |
| CMYK | cmyk(0%, 2.8%, 80.9%, 44.7%) |
| CIE-LAB | lab(55.72, -11.10, 54.31) |
| CIE-LCH | lch(55.72, 55.43, 101.55°) |
| OKLab | oklab(61.45% -0.0368 0.1179) |
| OKLCH | oklch(61.45% 0.123 107.3) |
| XYZ | xyz(20.1288, 23.6339, 4.5382) |
| Luminance | 0.2363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.87
Baby Poop Green
#8F9805
ΔE00 5.72
Pea Soup
#929901
ΔE00 5.90
Shit Green
#758000
ΔE00 6.05
Baby Shit Green
#889717
ΔE00 6.12
Swamp Green
#748500
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D891B #1B1F8D
analogous
#8D501B #8D891B #588D1B
triadic
#8D891B #1B8D89 #891B8D
tetradic
#8D891B #1B8D50 #1B1F8D #8D1B58
square
#8D891B #1B8D50 #1B1F8D #8D1B58
split-complementary
#8D891B #1B588D #501B8D
monochromatic
#262507 #5A5711 #8D891B #C0BB25 #DCD647
Accessibility & contrast
On white
3.67
#8D891B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#8D891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D891B
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D891B | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8d891b; /* rgb */ color: rgb(141, 137, 27); /* oklch */ color: oklch(61.4% 0.123 107.3);
Tailwind
colors: {
custom: {
50: '#b2ab62',
500: '#8d891b',
950: '#000000',
},
}SCSS
$custom: #8d891b; $custom-light: #b2ab62; $custom-dark: #000000;
JSON
{
"hex": "#8d891b",
"rgb": {
"r": 141,
"g": 137,
"b": 27
},
"hsl": {
"h": 57.895,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.61447,
"c": 0.12346,
"h": 107.3
},
"luminance": 0.23633
}Semantic roles & 50–950 ramp
primary
#8D891B
secondary
#464BBD
accent
#43EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A