#998F62#998F62
#998F62 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.8% C 0.063 H 97.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #998F62 |
|---|---|
| RGB | rgb(153, 143, 98) |
| HSL | hsl(49, 22%, 49%) |
| HSV | hsv(49, 36%, 60%) |
| CMYK | cmyk(0%, 6.5%, 35.9%, 40%) |
| CIE-LAB | lab(59.25, -3.30, 25.32) |
| CIE-LCH | lch(59.25, 25.54, 97.42°) |
| OKLab | oklab(64.76% -0.0079 0.0628) |
| OKLCH | oklch(64.76% 0.063 97.1) |
| XYZ | xyz(25.1643, 27.2998, 15.4967) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.08
Dark Sand
#A88F59
ΔE00 5.57
Dark Beige
#AC9362
ΔE00 5.91
Brown Grey
#8D8468
ΔE00 6.07
Dust
#B2996E
ΔE00 7.30
Drab
#828344
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F62 #626C99
analogous
#997462 #998F62 #889962
triadic
#998F62 #62998F #8F6299
tetradic
#998F62 #629974 #626C99 #996288
square
#998F62 #629974 #626C99 #996288
split-complementary
#998F62 #628899 #746299
monochromatic
#4E4932 #746C4A #998F62 #B2AA86 #CAC4AC
Accessibility & contrast
On white
3.25
#998F62 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#998F62 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F62
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F62 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988D5F
Deuteranopia (green-blind)
#9B9064
Tritanopia (blue-blind)
#A18983
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #998f62; /* rgb */ color: rgb(153, 143, 98); /* oklch */ color: oklch(64.8% 0.063 97.1);
Tailwind
colors: {
custom: {
50: '#b8af8f',
500: '#998f62',
950: '#000000',
},
}SCSS
$custom: #998f62; $custom-light: #b8af8f; $custom-dark: #000000;
JSON
{
"hex": "#998f62",
"rgb": {
"r": 153,
"g": 143,
"b": 98
},
"hsl": {
"h": 49.091,
"s": 21.912,
"l": 49.216
},
"oklch": {
"l": 0.64758,
"c": 0.06329,
"h": 97.1
},
"luminance": 0.27299
}Semantic roles & 50–950 ramp
primary
#998F62
secondary
#9FA3B8
accent
#79BE69
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D