#8A881F#8A881F
#8A881F 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 | #8A881F |
|---|---|
| RGB | rgb(138, 136, 31) |
| HSL | hsl(59, 63%, 33%) |
| HSV | hsv(59, 78%, 54%) |
| CMYK | cmyk(0%, 1.4%, 77.5%, 45.9%) |
| CIE-LAB | lab(55.19, -11.77, 52.44) |
| CIE-LCH | lch(55.19, 53.74, 102.66°) |
| OKLab | oklab(60.96% -0.0381 0.1148) |
| OKLCH | oklch(60.96% 0.121 108.4) |
| XYZ | xyz(19.5335, 23.1112, 4.7280) |
| Luminance | 0.2311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.45
Shit Green
#758000
ΔE00 5.34
Swamp Green
#748500
ΔE00 5.59
Baby Poop Green
#8F9805
ΔE00 6.00
Baby Shit Green
#889717
ΔE00 6.06
Pea Soup
#929901
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A881F #1F218A
analogous
#8A531F #8A881F #568A1F
triadic
#8A881F #1F8A88 #881F8A
tetradic
#8A881F #1F8A53 #1F218A #8A1F56
square
#8A881F #1F8A53 #1F218A #8A1F56
split-complementary
#8A881F #1F568A #531F8A
monochromatic
#262509 #585714 #8A881F #BCB92A #D7D44C
Accessibility & contrast
On white
3.74
#8A881F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#8A881F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A881F
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A881F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A881F | 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)
#948205
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#947F74
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a881f; /* rgb */ color: rgb(138, 136, 31); /* oklch */ color: oklch(61.0% 0.121 108.4);
Tailwind
colors: {
custom: {
50: '#b0aa64',
500: '#8a881f',
950: '#000000',
},
}SCSS
$custom: #8a881f; $custom-light: #b0aa64; $custom-dark: #000000;
JSON
{
"hex": "#8a881f",
"rgb": {
"r": 138,
"g": 136,
"b": 31
},
"hsl": {
"h": 58.879,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.60964,
"c": 0.12094,
"h": 108.4
},
"luminance": 0.23111
}Semantic roles & 50–950 ramp
primary
#8A881F
secondary
#4B4DBA
accent
#45E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A