#998D5F#998D5F
#998D5F is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.3% C 0.065 H 95.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #998D5F |
|---|---|
| RGB | rgb(153, 141, 95) |
| HSL | hsl(48, 23%, 49%) |
| HSV | hsv(48, 38%, 60%) |
| CMYK | cmyk(0%, 7.8%, 37.9%, 40%) |
| CIE-LAB | lab(58.65, -2.57, 26.18) |
| CIE-LCH | lch(58.65, 26.31, 95.60°) |
| OKLab | oklab(64.27% -0.006 0.0647) |
| OKLCH | oklch(64.27% 0.065 95.3) |
| XYZ | xyz(24.7277, 26.6490, 14.6655) |
| Luminance | 0.2665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.83
Dark Sand
#A88F59
ΔE00 4.94
Dark Beige
#AC9362
ΔE00 5.48
Brown Grey
#8D8468
ΔE00 5.95
Dust
#B2996E
ΔE00 7.12
Drab
#828344
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998D5F #5F6B99
analogous
#99705F #998D5F #88995F
triadic
#998D5F #5F998D #8D5F99
tetradic
#998D5F #5F9970 #5F6B99 #995F88
square
#998D5F #5F9970 #5F6B99 #995F88
split-complementary
#998D5F #5F8899 #705F99
monochromatic
#4D4730 #736A48 #998D5F #B2A883 #CAC3A9
Accessibility & contrast
On white
3.32
#998D5F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#998D5F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998D5F
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998D5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998D5F | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968B5C
Deuteranopia (green-blind)
#998F61
Tritanopia (blue-blind)
#A28681
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998d5f; /* rgb */ color: rgb(153, 141, 95); /* oklch */ color: oklch(64.3% 0.065 95.3);
Tailwind
colors: {
custom: {
50: '#b8ae8d',
500: '#998d5f',
950: '#000000',
},
}SCSS
$custom: #998d5f; $custom-light: #b8ae8d; $custom-dark: #000000;
JSON
{
"hex": "#998d5f",
"rgb": {
"r": 153,
"g": 141,
"b": 95
},
"hsl": {
"h": 47.586,
"s": 23.387,
"l": 48.627
},
"oklch": {
"l": 0.64265,
"c": 0.06498,
"h": 95.3
},
"luminance": 0.26648
}Semantic roles & 50–950 ramp
primary
#998D5F
secondary
#9CA2B8
accent
#7AC068
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D