#998F57#998F57
#998F57 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.077 H 99.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #998F57 |
|---|---|
| RGB | rgb(153, 143, 87) |
| HSL | hsl(51, 28%, 47%) |
| HSV | hsv(51, 43%, 60%) |
| CMYK | cmyk(0%, 6.5%, 43.1%, 40%) |
| CIE-LAB | lab(59.07, -4.60, 31.09) |
| CIE-LCH | lch(59.07, 31.43, 98.42°) |
| OKLab | oklab(64.56% -0.0125 0.0756) |
| OKLCH | oklch(64.56% 0.077 99.4) |
| XYZ | xyz(24.6802, 27.1061, 12.9469) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.81
Dark Sand
#A88F59
ΔE00 5.47
Dark Beige
#AC9362
ΔE00 6.36
Drab
#828344
ΔE00 6.52
Khaki (survey)
#AAA662
ΔE00 7.41
Brown Grey
#8D8468
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F57 #576199
analogous
#996E57 #998F57 #829957
triadic
#998F57 #57998F #8F5799
tetradic
#998F57 #57996E #576199 #995782
square
#998F57 #57996E #576199 #995782
split-complementary
#998F57 #578299 #6E5799
monochromatic
#4B462B #726B41 #998F57 #B3AB7A #C9C3A1
Accessibility & contrast
On white
3.27
#998F57 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#998F57 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F57
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F57 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F57 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998C53
Deuteranopia (green-blind)
#9C9059
Tritanopia (blue-blind)
#A28881
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f57; /* rgb */ color: rgb(153, 143, 87); /* oklch */ color: oklch(64.6% 0.077 99.4);
Tailwind
colors: {
custom: {
50: '#b8af87',
500: '#998f57',
950: '#000000',
},
}SCSS
$custom: #998f57; $custom-light: #b8af87; $custom-dark: #000000;
JSON
{
"hex": "#998f57",
"rgb": {
"r": 153,
"g": 143,
"b": 87
},
"hsl": {
"h": 50.909,
"s": 27.5,
"l": 47.059
},
"oklch": {
"l": 0.64559,
"c": 0.0766,
"h": 99.4
},
"luminance": 0.27105
}Semantic roles & 50–950 ramp
primary
#998F57
secondary
#959AB7
accent
#72C464
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C