#998F5F#998F5F
#998F5F is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.067 H 97.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #998F5F |
|---|---|
| RGB | rgb(153, 143, 95) |
| HSL | hsl(50, 23%, 49%) |
| HSV | hsv(50, 38%, 60%) |
| CMYK | cmyk(0%, 6.5%, 37.9%, 40%) |
| CIE-LAB | lab(59.20, -3.67, 26.90) |
| CIE-LCH | lch(59.20, 27.15, 97.77°) |
| OKLab | oklab(64.7% -0.0091 0.0664) |
| OKLCH | oklch(64.7% 0.067 97.8) |
| XYZ | xyz(25.0253, 27.2442, 14.7646) |
| Luminance | 0.2724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.36
Dark Sand
#A88F59
ΔE00 5.42
Dark Beige
#AC9362
ΔE00 5.94
Brown Grey
#8D8468
ΔE00 6.65
Drab
#828344
ΔE00 7.33
Dust
#B2996E
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F5F #5F6999
analogous
#99725F #998F5F #86995F
triadic
#998F5F #5F998F #8F5F99
tetradic
#998F5F #5F9972 #5F6999 #995F86
square
#998F5F #5F9972 #5F6999 #995F86
split-complementary
#998F5F #5F8699 #725F99
monochromatic
#4D4830 #736C48 #998F5F #B2AA83 #CAC4A9
Accessibility & contrast
On white
3.26
#998F5F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#998F5F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F5F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F5F | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988C5C
Deuteranopia (green-blind)
#9B9061
Tritanopia (blue-blind)
#A18883
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f5f; /* rgb */ color: rgb(153, 143, 95); /* oklch */ color: oklch(64.7% 0.067 97.8);
Tailwind
colors: {
custom: {
50: '#b8af8d',
500: '#998f5f',
950: '#000000',
},
}SCSS
$custom: #998f5f; $custom-light: #b8af8d; $custom-dark: #000000;
JSON
{
"hex": "#998f5f",
"rgb": {
"r": 153,
"g": 143,
"b": 95
},
"hsl": {
"h": 49.655,
"s": 23.387,
"l": 48.627
},
"oklch": {
"l": 0.64701,
"c": 0.06701,
"h": 97.8
},
"luminance": 0.27243
}Semantic roles & 50–950 ramp
primary
#998F5F
secondary
#9CA1B8
accent
#77C068
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D