#8A801B#8A801B
#8A801B is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.115 H 103.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A801B |
|---|---|
| RGB | rgb(138, 128, 27) |
| HSL | hsl(55, 67%, 32%) |
| HSV | hsv(55, 80%, 54%) |
| CMYK | cmyk(0%, 7.2%, 80.4%, 45.9%) |
| CIE-LAB | lab(52.86, -7.59, 51.66) |
| CIE-LCH | lch(52.86, 52.22, 98.35°) |
| OKLab | oklab(59.11% -0.0268 0.1123) |
| OKLCH | oklch(59.11% 0.115 103.4) |
| XYZ | xyz(18.3991, 20.9215, 4.1058) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.34
Baby Poop
#937C00
ΔE00 4.42
Hazel
#8E7618
ΔE00 5.42
Ugly Brown
#7D7103
ΔE00 5.76
Shit Green
#758000
ΔE00 6.23
Diarrhea
#9F8303
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A801B #1B258A
analogous
#8A491B #8A801B #5C8A1B
triadic
#8A801B #1B8A80 #801B8A
tetradic
#8A801B #1B8A49 #1B258A #8A1B5C
square
#8A801B #1B8A49 #1B258A #8A1B5C
split-complementary
#8A801B #1B5C8A #491B8A
monochromatic
#242107 #575111 #8A801B #BDAF25 #DBCD45
Accessibility & contrast
On white
4.05
#8A801B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#8A801B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A801B
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A801B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A801B | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C01
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#95766D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a801b; /* rgb */ color: rgb(138, 128, 27); /* oklch */ color: oklch(59.1% 0.115 103.4);
Tailwind
colors: {
custom: {
50: '#b0a461',
500: '#8a801b',
950: '#000000',
},
}SCSS
$custom: #8a801b; $custom-light: #b0a461; $custom-dark: #000000;
JSON
{
"hex": "#8a801b",
"rgb": {
"r": 138,
"g": 128,
"b": 27
},
"hsl": {
"h": 54.595,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.59106,
"c": 0.11547,
"h": 103.4
},
"luminance": 0.20921
}Semantic roles & 50–950 ramp
primary
#8A801B
secondary
#4550BC
accent
#4DEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A