#8A891F#8A891F
#8A891F 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 | #8A891F |
|---|---|
| RGB | rgb(138, 137, 31) |
| HSL | hsl(59, 63%, 33%) |
| HSV | hsv(59, 78%, 54%) |
| CMYK | cmyk(0%, 0.7%, 77.5%, 45.9%) |
| CIE-LAB | lab(55.48, -12.31, 52.70) |
| CIE-LCH | lch(55.48, 54.12, 103.15°) |
| OKLab | oklab(61.2% -0.0396 0.1153) |
| OKLCH | oklch(61.2% 0.122 109) |
| XYZ | xyz(19.6750, 23.3941, 4.7752) |
| Luminance | 0.2339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.67
Shit Green
#758000
ΔE00 5.37
Swamp Green
#748500
ΔE00 5.46
Baby Poop Green
#8F9805
ΔE00 5.62
Baby Shit Green
#889717
ΔE00 5.65
Pea Soup
#929901
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A891F #1F208A
analogous
#8A531F #8A891F #558A1F
triadic
#8A891F #1F8A89 #891F8A
tetradic
#8A891F #1F8A53 #1F208A #8A1F55
square
#8A891F #1F8A53 #1F208A #8A1F55
split-complementary
#8A891F #1F558A #531F8A
monochromatic
#262609 #585714 #8A891F #BCBB2A #D7D64C
Accessibility & contrast
On white
3.70
#8A891F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#8A891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A891F
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A891F | 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)
#958305
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a891f; /* rgb */ color: rgb(138, 137, 31); /* oklch */ color: oklch(61.2% 0.122 109.0);
Tailwind
colors: {
custom: {
50: '#b0ab64',
500: '#8a891f',
950: '#000000',
},
}SCSS
$custom: #8a891f; $custom-light: #b0ab64; $custom-dark: #000000;
JSON
{
"hex": "#8a891f",
"rgb": {
"r": 138,
"g": 137,
"b": 31
},
"hsl": {
"h": 59.439,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.61195,
"c": 0.12196,
"h": 109
},
"luminance": 0.23394
}Semantic roles & 50–950 ramp
primary
#8A891F
secondary
#4B4CBA
accent
#43E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A