#8A891E#8A891E
#8A891E is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.122 H 109.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8A891E |
|---|---|
| RGB | rgb(138, 137, 30) |
| HSL | hsl(59, 64%, 33%) |
| HSV | hsv(59, 78%, 54%) |
| CMYK | cmyk(0%, 0.7%, 78.3%, 45.9%) |
| CIE-LAB | lab(55.47, -12.35, 53.03) |
| CIE-LCH | lch(55.47, 54.45, 103.11°) |
| OKLab | oklab(61.19% -0.0398 0.1158) |
| OKLCH | oklch(61.19% 0.123 109) |
| XYZ | xyz(19.6620, 23.3890, 4.7068) |
| Luminance | 0.2339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.64
Shit Green
#758000
ΔE00 5.36
Swamp Green
#748500
ΔE00 5.45
Baby Poop Green
#8F9805
ΔE00 5.58
Baby Shit Green
#889717
ΔE00 5.63
Pea Soup
#929901
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A891E #1E1F8A
analogous
#8A531E #8A891E #558A1E
triadic
#8A891E #1E8A89 #891E8A
tetradic
#8A891E #1E8A53 #1E1F8A #8A1E55
square
#8A891E #1E8A53 #1E1F8A #8A1E55
split-complementary
#8A891E #1E558A #531E8A
monochromatic
#252508 #585713 #8A891E #BCBB29 #D8D64B
Accessibility & contrast
On white
3.70
#8A891E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#8A891E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A891E
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A891E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A891E | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a891e; /* rgb */ color: rgb(138, 137, 30); /* oklch */ color: oklch(61.2% 0.122 109.0);
Tailwind
colors: {
custom: {
50: '#b0ab64',
500: '#8a891e',
950: '#000000',
},
}SCSS
$custom: #8a891e; $custom-light: #b0ab64; $custom-dark: #000000;
JSON
{
"hex": "#8a891e",
"rgb": {
"r": 138,
"g": 137,
"b": 30
},
"hsl": {
"h": 59.444,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.61189,
"c": 0.1225,
"h": 109
},
"luminance": 0.23388
}Semantic roles & 50–950 ramp
primary
#8A891E
secondary
#4A4BBA
accent
#42E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A