#8D8A5B#8D8A5B
#8D8A5B is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.066 H 105.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8A5B |
|---|---|
| RGB | rgb(141, 138, 91) |
| HSL | hsl(56, 22%, 45%) |
| HSV | hsv(56, 35%, 55%) |
| CMYK | cmyk(0%, 2.1%, 35.5%, 44.7%) |
| CIE-LAB | lab(56.68, -6.46, 25.61) |
| CIE-LCH | lch(56.68, 26.42, 104.15°) |
| OKLab | oklab(62.43% -0.017 0.0633) |
| OKLCH | oklch(62.43% 0.066 105) |
| XYZ | xyz(21.9616, 24.5955, 13.4860) |
| Luminance | 0.2460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.57
Drab
#828344
ΔE00 4.92
Brown Grey
#8D8468
ΔE00 6.44
Camo
#7F8F4E
ΔE00 6.61
Moss Green
#8A9A5B
ΔE00 7.51
Dark Sand
#A88F59
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8A5B #5B5E8D
analogous
#8D715B #8D8A5B #778D5B
triadic
#8D8A5B #5B8D8A #8A5B8D
tetradic
#8D8A5B #5B8D71 #5B5E8D #8D5B77
square
#8D8A5B #5B8D71 #5B5E8D #8D5B77
split-complementary
#8D8A5B #5B778D #715B8D
monochromatic
#43412B #686643 #8D8A5B #AAA77B #C2C0A0
Accessibility & contrast
On white
3.55
#8D8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#8D8A5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8A5B
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8A5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8A5B | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928758
Deuteranopia (green-blind)
#93895D
Tritanopia (blue-blind)
#94847E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8d8a5b; /* rgb */ color: rgb(141, 138, 91); /* oklch */ color: oklch(62.4% 0.066 105.0);
Tailwind
colors: {
custom: {
50: '#afac8a',
500: '#8d8a5b',
950: '#000000',
},
}SCSS
$custom: #8d8a5b; $custom-light: #afac8a; $custom-dark: #000000;
JSON
{
"hex": "#8d8a5b",
"rgb": {
"r": 141,
"g": 138,
"b": 91
},
"hsl": {
"h": 56.4,
"s": 21.552,
"l": 45.49
},
"oklch": {
"l": 0.62428,
"c": 0.06555,
"h": 105
},
"luminance": 0.24595
}Semantic roles & 50–950 ramp
primary
#8D8A5B
secondary
#9496B0
accent
#6FBE6A
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C