#8A8829#8A8829
#8A8829 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.115 H 108.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8829 |
|---|---|
| RGB | rgb(138, 136, 41) |
| HSL | hsl(59, 54%, 35%) |
| HSV | hsv(59, 70%, 54%) |
| CMYK | cmyk(0%, 1.4%, 70.3%, 45.9%) |
| CIE-LAB | lab(55.25, -11.28, 48.76) |
| CIE-LCH | lch(55.25, 50.05, 103.02°) |
| OKLab | oklab(61.03% -0.0357 0.1089) |
| OKLCH | oklch(61.03% 0.115 108.2) |
| XYZ | xyz(19.6863, 23.1723, 5.5331) |
| Luminance | 0.2317 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.03
Shit Green
#758000
ΔE00 5.61
Drab
#828344
ΔE00 5.67
Swamp Green
#748500
ΔE00 5.84
Baby Shit Green
#889717
ΔE00 6.33
Baby Poop Green
#8F9805
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8829 #292B8A
analogous
#8A5829 #8A8829 #5B8A29
triadic
#8A8829 #298A88 #88298A
tetradic
#8A8829 #298A58 #292B8A #8A295B
square
#8A8829 #298A58 #292B8A #8A295B
split-complementary
#8A8829 #295B8A #58298A
monochromatic
#2C2B0D #5B5A1B #8A8829 #B9B637 #CFCD5E
Accessibility & contrast
On white
3.73
#8A8829 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#8A8829 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8829
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8829 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8829 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a8829; /* rgb */ color: rgb(138, 136, 41); /* oklch */ color: oklch(61.0% 0.115 108.2);
Tailwind
colors: {
custom: {
50: '#afaa69',
500: '#8a8829',
950: '#000000',
},
}SCSS
$custom: #8a8829; $custom-light: #afaa69; $custom-dark: #000000;
JSON
{
"hex": "#8a8829",
"rgb": {
"r": 138,
"g": 136,
"b": 41
},
"hsl": {
"h": 58.763,
"s": 54.19,
"l": 35.098
},
"oklch": {
"l": 0.61034,
"c": 0.11459,
"h": 108.2
},
"luminance": 0.23172
}Semantic roles & 50–950 ramp
primary
#8A8829
secondary
#5A5CB5
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A