#8A881B#8A881B
#8A881B is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.123 H 108.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A881B |
|---|---|
| RGB | rgb(138, 136, 27) |
| HSL | hsl(59, 67%, 32%) |
| HSV | hsv(59, 80%, 54%) |
| CMYK | cmyk(0%, 1.4%, 80.4%, 45.9%) |
| CIE-LAB | lab(55.17, -11.94, 53.72) |
| CIE-LCH | lch(55.17, 55.03, 102.53°) |
| OKLab | oklab(60.94% -0.0389 0.1167) |
| OKLCH | oklch(60.94% 0.123 108.4) |
| XYZ | xyz(19.4840, 23.0914, 4.4674) |
| Luminance | 0.2309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.32
Shit Green
#758000
ΔE00 5.30
Swamp Green
#748500
ΔE00 5.56
Baby Poop Green
#8F9805
ΔE00 5.87
Baby Shit Green
#889717
ΔE00 6.01
Pea Soup
#929901
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A881B #1B1D8A
analogous
#8A511B #8A881B #558A1B
triadic
#8A881B #1B8A88 #881B8A
tetradic
#8A881B #1B8A51 #1B1D8A #8A1B55
square
#8A881B #1B8A51 #1B1D8A #8A1B55
split-complementary
#8A881B #1B558A #511B8A
monochromatic
#242307 #575611 #8A881B #BDBA25 #DBD845
Accessibility & contrast
On white
3.74
#8A881B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#8A881B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A881B
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A881B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A881B | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#947F74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a881b; /* rgb */ color: rgb(138, 136, 27); /* oklch */ color: oklch(60.9% 0.123 108.4);
Tailwind
colors: {
custom: {
50: '#b0aa62',
500: '#8a881b',
950: '#000000',
},
}SCSS
$custom: #8a881b; $custom-light: #b0aa62; $custom-dark: #000000;
JSON
{
"hex": "#8a881b",
"rgb": {
"r": 138,
"g": 136,
"b": 27
},
"hsl": {
"h": 58.919,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.60941,
"c": 0.12304,
"h": 108.4
},
"luminance": 0.23091
}Semantic roles & 50–950 ramp
primary
#8A881B
secondary
#4547BC
accent
#41EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A