#998F56#998F56
#998F56 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.078 H 99.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #998F56 |
|---|---|
| RGB | rgb(153, 143, 86) |
| HSL | hsl(51, 28%, 47%) |
| HSV | hsv(51, 44%, 60%) |
| CMYK | cmyk(0%, 6.5%, 43.8%, 40%) |
| CIE-LAB | lab(59.06, -4.71, 31.61) |
| CIE-LCH | lch(59.06, 31.95, 98.48°) |
| OKLab | oklab(64.54% -0.0129 0.0767) |
| OKLCH | oklch(64.54% 0.078 99.5) |
| XYZ | xyz(24.6396, 27.0899, 12.7332) |
| Luminance | 0.2709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.72
Dark Sand
#A88F59
ΔE00 5.51
Dark Beige
#AC9362
ΔE00 6.44
Drab
#828344
ΔE00 6.46
Khaki (survey)
#AAA662
ΔE00 7.36
Moss Green
#8A9A5B
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F56 #566099
analogous
#996E56 #998F56 #829956
triadic
#998F56 #56998F #8F5699
tetradic
#998F56 #56996E #566099 #995682
square
#998F56 #56996E #566099 #995682
split-complementary
#998F56 #568299 #6E5699
monochromatic
#4B462A #726A40 #998F56 #B4AB79 #CAC3A0
Accessibility & contrast
On white
3.27
#998F56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#998F56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F56
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F56 | 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)
#998C52
Deuteranopia (green-blind)
#9C9058
Tritanopia (blue-blind)
#A28881
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f56; /* rgb */ color: rgb(153, 143, 86); /* oklch */ color: oklch(64.5% 0.078 99.5);
Tailwind
colors: {
custom: {
50: '#b8af86',
500: '#998f56',
950: '#000000',
},
}SCSS
$custom: #998f56; $custom-light: #b8af86; $custom-dark: #000000;
JSON
{
"hex": "#998f56",
"rgb": {
"r": 153,
"g": 143,
"b": 86
},
"hsl": {
"h": 51.045,
"s": 28.033,
"l": 46.863
},
"oklch": {
"l": 0.64542,
"c": 0.07778,
"h": 99.5
},
"luminance": 0.27089
}Semantic roles & 50–950 ramp
primary
#998F56
secondary
#9499B7
accent
#72C463
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C