#8A881E#8A881E
#8A881E is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.121 H 108.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A881E |
|---|---|
| RGB | rgb(138, 136, 30) |
| HSL | hsl(59, 64%, 33%) |
| HSV | hsv(59, 78%, 54%) |
| CMYK | cmyk(0%, 1.4%, 78.3%, 45.9%) |
| CIE-LAB | lab(55.18, -11.82, 52.77) |
| CIE-LCH | lch(55.18, 54.08, 102.62°) |
| OKLab | oklab(60.96% -0.0383 0.1153) |
| OKLCH | oklch(60.96% 0.121 108.4) |
| XYZ | xyz(19.5205, 23.1060, 4.6597) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.41
Shit Green
#758000
ΔE00 5.32
Swamp Green
#748500
ΔE00 5.58
Baby Poop Green
#8F9805
ΔE00 5.96
Baby Shit Green
#889717
ΔE00 6.04
Pea Soup
#929901
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A881E #1E208A
analogous
#8A521E #8A881E #568A1E
triadic
#8A881E #1E8A88 #881E8A
tetradic
#8A881E #1E8A52 #1E208A #8A1E56
square
#8A881E #1E8A52 #1E208A #8A1E56
split-complementary
#8A881E #1E568A #521E8A
monochromatic
#252508 #585613 #8A881E #BCBA29 #D8D54B
Accessibility & contrast
On white
3.74
#8A881E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#8A881E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A881E
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A881E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A881E | 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)
#948203
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#947F74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a881e; /* rgb */ color: rgb(138, 136, 30); /* oklch */ color: oklch(61.0% 0.121 108.4);
Tailwind
colors: {
custom: {
50: '#b0aa64',
500: '#8a881e',
950: '#000000',
},
}SCSS
$custom: #8a881e; $custom-light: #b0aa64; $custom-dark: #000000;
JSON
{
"hex": "#8a881e",
"rgb": {
"r": 138,
"g": 136,
"b": 30
},
"hsl": {
"h": 58.889,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.60958,
"c": 0.12149,
"h": 108.4
},
"luminance": 0.23105
}Semantic roles & 50–950 ramp
primary
#8A881E
secondary
#4A4CBA
accent
#44E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A