#8A802A#8A802A
#8A802A is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.106 H 102.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8A802A |
|---|---|
| RGB | rgb(138, 128, 42) |
| HSL | hsl(54, 53%, 35%) |
| HSV | hsv(54, 70%, 54%) |
| CMYK | cmyk(0%, 7.2%, 69.6%, 45.9%) |
| CIE-LAB | lab(52.96, -6.85, 46.04) |
| CIE-LCH | lch(52.96, 46.54, 98.47°) |
| OKLab | oklab(59.21% -0.0231 0.1033) |
| OKLCH | oklch(59.21% 0.106 102.6) |
| XYZ | xyz(18.6191, 21.0095, 5.2645) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.42
Baby Poop
#937C00
ΔE00 5.28
Hazel
#8E7618
ΔE00 5.49
Drab
#828344
ΔE00 5.60
Ugly Brown
#7D7103
ΔE00 6.17
Shit Green
#758000
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A802A #2A348A
analogous
#8A502A #8A802A #648A2A
triadic
#8A802A #2A8A80 #802A8A
tetradic
#8A802A #2A8A50 #2A348A #8A2A64
square
#8A802A #2A8A50 #2A348A #8A2A64
split-complementary
#8A802A #2A648A #502A8A
monochromatic
#2C290D #5B541C #8A802A #B9AC38 #CFC360
Accessibility & contrast
On white
4.04
#8A802A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#8A802A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A802A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A802A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A802A | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#95776F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a802a; /* rgb */ color: rgb(138, 128, 42); /* oklch */ color: oklch(59.2% 0.106 102.6);
Tailwind
colors: {
custom: {
50: '#afa469',
500: '#8a802a',
950: '#000000',
},
}SCSS
$custom: #8a802a; $custom-light: #afa469; $custom-dark: #000000;
JSON
{
"hex": "#8a802a",
"rgb": {
"r": 138,
"g": 128,
"b": 42
},
"hsl": {
"h": 53.75,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.59214,
"c": 0.10586,
"h": 102.6
},
"luminance": 0.21009
}Semantic roles & 50–950 ramp
primary
#8A802A
secondary
#5B65B4
accent
#5ADD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A