#8A891B#8A891B
#8A891B is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.124 H 109.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A891B |
|---|---|
| RGB | rgb(138, 137, 27) |
| HSL | hsl(59, 67%, 32%) |
| HSV | hsv(59, 80%, 54%) |
| CMYK | cmyk(0%, 0.7%, 80.4%, 45.9%) |
| CIE-LAB | lab(55.46, -12.47, 53.98) |
| CIE-LCH | lch(55.46, 55.40, 103.01°) |
| OKLab | oklab(61.17% -0.0404 0.1173) |
| OKLCH | oklch(61.17% 0.124 109) |
| XYZ | xyz(19.6255, 23.3744, 4.5146) |
| Luminance | 0.2337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.55
Shit Green
#758000
ΔE00 5.34
Swamp Green
#748500
ΔE00 5.44
Baby Poop Green
#8F9805
ΔE00 5.48
Baby Shit Green
#889717
ΔE00 5.61
Pea Soup
#929901
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A891B #1B1C8A
analogous
#8A511B #8A891B #548A1B
triadic
#8A891B #1B8A89 #891B8A
tetradic
#8A891B #1B8A51 #1B1C8A #8A1B54
square
#8A891B #1B8A51 #1B1C8A #8A1B54
split-complementary
#8A891B #1B548A #511B8A
monochromatic
#242307 #575611 #8A891B #BDBC25 #DBD945
Accessibility & contrast
On white
3.70
#8A891B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#8A891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A891B
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A891B | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a891b; /* rgb */ color: rgb(138, 137, 27); /* oklch */ color: oklch(61.2% 0.124 109.0);
Tailwind
colors: {
custom: {
50: '#b0ab62',
500: '#8a891b',
950: '#000000',
},
}SCSS
$custom: #8a891b; $custom-light: #b0ab62; $custom-dark: #000000;
JSON
{
"hex": "#8a891b",
"rgb": {
"r": 138,
"g": 137,
"b": 27
},
"hsl": {
"h": 59.459,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.61173,
"c": 0.12405,
"h": 109
},
"luminance": 0.23374
}Semantic roles & 50–950 ramp
primary
#8A891B
secondary
#4546BC
accent
#3FEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A