#8A801F#8A801F
#8A801F is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.113 H 103.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A801F |
|---|---|
| RGB | rgb(138, 128, 31) |
| HSL | hsl(54, 63%, 33%) |
| HSV | hsv(54, 78%, 54%) |
| CMYK | cmyk(0%, 7.2%, 77.5%, 45.9%) |
| CIE-LAB | lab(52.89, -7.42, 50.31) |
| CIE-LCH | lch(52.89, 50.85, 98.39°) |
| OKLab | oklab(59.13% -0.0259 0.1102) |
| OKLCH | oklch(59.13% 0.113 103.2) |
| XYZ | xyz(18.4486, 20.9413, 4.3664) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.53
Baby Poop
#937C00
ΔE00 4.58
Hazel
#8E7618
ΔE00 5.39
Ugly Brown
#7D7103
ΔE00 5.81
Shit Green
#758000
ΔE00 6.30
Diarrhea
#9F8303
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A801F #1F298A
analogous
#8A4B1F #8A801F #5E8A1F
triadic
#8A801F #1F8A80 #801F8A
tetradic
#8A801F #1F8A4B #1F298A #8A1F5E
square
#8A801F #1F8A4B #1F298A #8A1F5E
split-complementary
#8A801F #1F5E8A #4B1F8A
monochromatic
#262309 #585214 #8A801F #BCAE2A #D7CA4C
Accessibility & contrast
On white
4.05
#8A801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8A801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A801F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A801F | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C0A
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#95776E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a801f; /* rgb */ color: rgb(138, 128, 31); /* oklch */ color: oklch(59.1% 0.113 103.2);
Tailwind
colors: {
custom: {
50: '#b0a463',
500: '#8a801f',
950: '#000000',
},
}SCSS
$custom: #8a801f; $custom-light: #b0a463; $custom-dark: #000000;
JSON
{
"hex": "#8a801f",
"rgb": {
"r": 138,
"g": 128,
"b": 31
},
"hsl": {
"h": 54.393,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.5913,
"c": 0.11325,
"h": 103.2
},
"luminance": 0.20941
}Semantic roles & 50–950 ramp
primary
#8A801F
secondary
#4B55BA
accent
#51E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A