#8A8A5B#8A8A5B
#8A8A5B is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.066 H 108.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8A5B |
|---|---|
| RGB | rgb(138, 138, 91) |
| HSL | hsl(60, 21%, 45%) |
| HSV | hsv(60, 34%, 54%) |
| CMYK | cmyk(0%, 0%, 34.1%, 45.9%) |
| CIE-LAB | lab(56.42, -7.71, 25.23) |
| CIE-LCH | lch(56.42, 26.38, 107.00°) |
| OKLab | oklab(62.16% -0.0205 0.0624) |
| OKLCH | oklch(62.16% 0.066 108.2) |
| XYZ | xyz(21.4582, 24.3359, 13.4624) |
| Luminance | 0.2434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.68
Dark Khaki
#9B8F55
ΔE00 5.47
Camo
#7F8F4E
ΔE00 5.79
Moss Green
#8A9A5B
ΔE00 6.90
Brown Grey
#8D8468
ΔE00 7.03
Khaki Green
#728639
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8A5B #5B5B8A
analogous
#8A735B #8A8A5B #738A5B
triadic
#8A8A5B #5B8A8A #8A5B8A
tetradic
#8A8A5B #5B8A73 #5B5B8A #8A5B73
square
#8A8A5B #5B8A73 #5B5B8A #8A5B73
split-complementary
#8A8A5B #5B738A #735B8A
monochromatic
#40402A #656543 #8A8A5B #A8A87B #C0C09F
Accessibility & contrast
On white
3.58
#8A8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#8A8A5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8A5B
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8A5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8A5B | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918658
Deuteranopia (green-blind)
#92885D
Tritanopia (blue-blind)
#90847E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a8a5b; /* rgb */ color: rgb(138, 138, 91); /* oklch */ color: oklch(62.2% 0.066 108.2);
Tailwind
colors: {
custom: {
50: '#adac8a',
500: '#8a8a5b',
950: '#000000',
},
}SCSS
$custom: #8a8a5b; $custom-light: #adac8a; $custom-dark: #000000;
JSON
{
"hex": "#8a8a5b",
"rgb": {
"r": 138,
"g": 138,
"b": 91
},
"hsl": {
"h": 60,
"s": 20.524,
"l": 44.902
},
"oklch": {
"l": 0.62162,
"c": 0.06571,
"h": 108.2
},
"luminance": 0.24336
}Semantic roles & 50–950 ramp
primary
#8A8A5B
secondary
#9393AE
accent
#6BBD6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C