#8A8A52#8A8A52
#8A8A52 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.077 H 108.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A52 |
|---|---|
| RGB | rgb(138, 138, 82) |
| HSL | hsl(60, 25%, 43%) |
| HSV | hsv(60, 41%, 54%) |
| CMYK | cmyk(0%, 0%, 40.6%, 45.9%) |
| CIE-LAB | lab(56.28, -8.82, 29.97) |
| CIE-LCH | lch(56.28, 31.24, 106.40°) |
| OKLab | oklab(62% -0.0243 0.0729) |
| OKLCH | oklch(62% 0.077 108.4) |
| XYZ | xyz(21.0930, 24.1899, 11.5390) |
| Luminance | 0.2419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.17
Dark Khaki
#9B8F55
ΔE00 4.85
Camo
#7F8F4E
ΔE00 4.86
Moss Green
#8A9A5B
ΔE00 6.41
Khaki Green
#728639
ΔE00 7.15
Brown Grey
#8D8468
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A52 #52528A
analogous
#8A6E52 #8A8A52 #6E8A52
triadic
#8A8A52 #528A8A #8A528A
tetradic
#8A8A52 #528A6E #52528A #8A526E
square
#8A8A52 #528A6E #52528A #8A526E
split-complementary
#8A8A52 #526E8A #6E528A
monochromatic
#3D3D24 #64643B #8A8A52 #AAAA6F #C1C196
Accessibility & contrast
On white
3.60
#8A8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#8A8A52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A52
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A52 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92864E
Deuteranopia (green-blind)
#938854
Tritanopia (blue-blind)
#91847C
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8a52; /* rgb */ color: rgb(138, 138, 82); /* oklch */ color: oklch(62.0% 0.077 108.4);
Tailwind
colors: {
custom: {
50: '#adac83',
500: '#8a8a52',
950: '#000000',
},
}SCSS
$custom: #8a8a52; $custom-light: #adac83; $custom-dark: #000000;
JSON
{
"hex": "#8a8a52",
"rgb": {
"r": 138,
"g": 138,
"b": 82
},
"hsl": {
"h": 60,
"s": 25.455,
"l": 43.137
},
"oklch": {
"l": 0.61999,
"c": 0.07687,
"h": 108.4
},
"luminance": 0.24189
}Semantic roles & 50–950 ramp
primary
#8A8A52
secondary
#8A8AAE
accent
#66C266
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#10100B
muted
#7F7F7C