#998F4F#998F4F
#998F4F is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.086 H 100.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #998F4F |
|---|---|
| RGB | rgb(153, 143, 79) |
| HSL | hsl(52, 32%, 45%) |
| HSV | hsv(52, 48%, 60%) |
| CMYK | cmyk(0%, 6.5%, 48.4%, 40%) |
| CIE-LAB | lab(58.96, -5.44, 35.20) |
| CIE-LCH | lch(58.96, 35.61, 98.79°) |
| OKLab | oklab(64.43% -0.0157 0.0843) |
| OKLCH | oklch(64.43% 0.086 100.6) |
| XYZ | xyz(24.3713, 26.9826, 11.3200) |
| Luminance | 0.2698 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.45
Dark Sand
#A88F59
ΔE00 5.99
Drab
#828344
ΔE00 6.23
Dark Beige
#AC9362
ΔE00 7.11
Khaki (survey)
#AAA662
ΔE00 7.19
Camo
#7F8F4E
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F4F #4F5999
analogous
#996A4F #998F4F #7E994F
triadic
#998F4F #4F998F #8F4F99
tetradic
#998F4F #4F996A #4F5999 #994F7E
square
#998F4F #4F996A #4F5999 #994F7E
split-complementary
#998F4F #4F7E99 #6A4F99
monochromatic
#484425 #71693A #998F4F #B5AC70 #CAC398
Accessibility & contrast
On white
3.28
#998F4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#998F4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F4F
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F4F | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8B4A
Deuteranopia (green-blind)
#9D9052
Tritanopia (blue-blind)
#A38780
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f4f; /* rgb */ color: rgb(153, 143, 79); /* oklch */ color: oklch(64.4% 0.086 100.6);
Tailwind
colors: {
custom: {
50: '#b9af82',
500: '#998f4f',
950: '#000000',
},
}SCSS
$custom: #998f4f; $custom-light: #b9af82; $custom-dark: #000000;
JSON
{
"hex": "#998f4f",
"rgb": {
"r": 153,
"g": 143,
"b": 79
},
"hsl": {
"h": 51.892,
"s": 31.897,
"l": 45.49
},
"oklch": {
"l": 0.64431,
"c": 0.08571,
"h": 100.6
},
"luminance": 0.26982
}Semantic roles & 50–950 ramp
primary
#998F4F
secondary
#8D93B7
accent
#6EC860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C