#8A801E#8A801E
#8A801E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.114 H 103.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A801E |
|---|---|
| RGB | rgb(138, 128, 30) |
| HSL | hsl(54, 64%, 33%) |
| HSV | hsv(54, 78%, 54%) |
| CMYK | cmyk(0%, 7.2%, 78.3%, 45.9%) |
| CIE-LAB | lab(52.88, -7.46, 50.66) |
| CIE-LCH | lch(52.88, 51.21, 98.38°) |
| OKLab | oklab(59.12% -0.0261 0.1108) |
| OKLCH | oklch(59.12% 0.114 103.3) |
| XYZ | xyz(18.4356, 20.9361, 4.2980) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.48
Baby Poop
#937C00
ΔE00 4.54
Hazel
#8E7618
ΔE00 5.40
Ugly Brown
#7D7103
ΔE00 5.80
Shit Green
#758000
ΔE00 6.28
Diarrhea
#9F8303
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A801E #1E288A
analogous
#8A4A1E #8A801E #5E8A1E
triadic
#8A801E #1E8A80 #801E8A
tetradic
#8A801E #1E8A4A #1E288A #8A1E5E
square
#8A801E #1E8A4A #1E288A #8A1E5E
split-complementary
#8A801E #1E5E8A #4A1E8A
monochromatic
#252308 #585113 #8A801E #BCAF29 #D8CB4B
Accessibility & contrast
On white
4.05
#8A801E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#8A801E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A801E
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A801E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A801E | 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)
#8C7C08
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#95776D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a801e; /* rgb */ color: rgb(138, 128, 30); /* oklch */ color: oklch(59.1% 0.114 103.3);
Tailwind
colors: {
custom: {
50: '#b0a462',
500: '#8a801e',
950: '#000000',
},
}SCSS
$custom: #8a801e; $custom-light: #b0a462; $custom-dark: #000000;
JSON
{
"hex": "#8a801e",
"rgb": {
"r": 138,
"g": 128,
"b": 30
},
"hsl": {
"h": 54.444,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.59124,
"c": 0.11382,
"h": 103.3
},
"luminance": 0.20935
}Semantic roles & 50–950 ramp
primary
#8A801E
secondary
#4A54BA
accent
#50E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A