#8A8529#8A8529
#8A8529 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.112 H 106.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8529 |
|---|---|
| RGB | rgb(138, 133, 41) |
| HSL | hsl(57, 54%, 35%) |
| HSV | hsv(57, 70%, 54%) |
| CMYK | cmyk(0%, 3.6%, 70.3%, 45.9%) |
| CIE-LAB | lab(54.38, -9.65, 47.90) |
| CIE-LCH | lch(54.38, 48.86, 101.39°) |
| OKLab | oklab(60.35% -0.0312 0.1071) |
| OKLCH | oklch(60.35% 0.112 106.2) |
| XYZ | xyz(19.2697, 22.3391, 5.3942) |
| Luminance | 0.2234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.76
Drab
#828344
ΔE00 5.44
Shit Green
#758000
ΔE00 5.76
Swamp Green
#748500
ΔE00 6.42
Baby Poop
#937C00
ΔE00 6.63
Poop Green
#6F7C00
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8529 #292E8A
analogous
#8A5429 #8A8529 #5F8A29
triadic
#8A8529 #298A85 #85298A
tetradic
#8A8529 #298A54 #292E8A #8A295F
square
#8A8529 #298A54 #292E8A #8A295F
split-complementary
#8A8529 #295F8A #54298A
monochromatic
#2C2A0D #5B581B #8A8529 #B9B237 #CFC95E
Accessibility & contrast
On white
3.84
#8A8529 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#8A8529 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8529
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8529 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8529 | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#947C73
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a8529; /* rgb */ color: rgb(138, 133, 41); /* oklch */ color: oklch(60.3% 0.112 106.2);
Tailwind
colors: {
custom: {
50: '#afa869',
500: '#8a8529',
950: '#000000',
},
}SCSS
$custom: #8a8529; $custom-light: #afa869; $custom-dark: #000000;
JSON
{
"hex": "#8a8529",
"rgb": {
"r": 138,
"g": 133,
"b": 41
},
"hsl": {
"h": 56.907,
"s": 54.19,
"l": 35.098
},
"oklch": {
"l": 0.60345,
"c": 0.1115,
"h": 106.2
},
"luminance": 0.22338
}Semantic roles & 50–950 ramp
primary
#8A8529
secondary
#5A5FB5
accent
#52DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A