#998F55#998F55
#998F55 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.079 H 99.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #998F55 |
|---|---|
| RGB | rgb(153, 143, 85) |
| HSL | hsl(51, 29%, 47%) |
| HSV | hsv(51, 44%, 60%) |
| CMYK | cmyk(0%, 6.5%, 44.4%, 40%) |
| CIE-LAB | lab(59.04, -4.82, 32.12) |
| CIE-LCH | lch(59.04, 32.48, 98.53°) |
| OKLab | oklab(64.53% -0.0133 0.0778) |
| OKLCH | oklch(64.53% 0.079 99.7) |
| XYZ | xyz(24.5996, 27.0739, 12.5225) |
| Luminance | 0.2707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.70
Dark Sand
#A88F59
ΔE00 5.56
Drab
#828344
ΔE00 6.40
Dark Beige
#AC9362
ΔE00 6.53
Khaki (survey)
#AAA662
ΔE00 7.32
Moss Green
#8A9A5B
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F55 #555F99
analogous
#996D55 #998F55 #819955
triadic
#998F55 #55998F #8F5599
tetradic
#998F55 #55996D #555F99 #995581
square
#998F55 #55996D #555F99 #995581
split-complementary
#998F55 #558199 #6D5599
monochromatic
#4A4529 #726A3F #998F55 #B4AB77 #CAC39F
Accessibility & contrast
On white
3.27
#998F55 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#998F55 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F55
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F55 | 1.00 | 3.27 | 6.41 | 6.41 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998C50
Deuteranopia (green-blind)
#9C9057
Tritanopia (blue-blind)
#A28781
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f55; /* rgb */ color: rgb(153, 143, 85); /* oklch */ color: oklch(64.5% 0.079 99.7);
Tailwind
colors: {
custom: {
50: '#b8af86',
500: '#998f55',
950: '#000000',
},
}SCSS
$custom: #998f55; $custom-light: #b8af86; $custom-dark: #000000;
JSON
{
"hex": "#998f55",
"rgb": {
"r": 153,
"g": 143,
"b": 85
},
"hsl": {
"h": 51.176,
"s": 28.571,
"l": 46.667
},
"oklch": {
"l": 0.64526,
"c": 0.07894,
"h": 99.7
},
"luminance": 0.27073
}Semantic roles & 50–950 ramp
primary
#998F55
secondary
#9398B7
accent
#71C563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C