#998F4C#998F4C
#998F4C is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.089 H 100.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #998F4C |
|---|---|
| RGB | rgb(153, 143, 76) |
| HSL | hsl(52, 34%, 45%) |
| HSV | hsv(52, 50%, 60%) |
| CMYK | cmyk(0%, 6.5%, 50.3%, 40%) |
| CIE-LAB | lab(58.92, -5.74, 36.71) |
| CIE-LCH | lch(58.92, 37.16, 98.89°) |
| OKLab | oklab(64.39% -0.0169 0.0874) |
| OKLCH | oklch(64.39% 0.089 100.9) |
| XYZ | xyz(24.2645, 26.9399, 10.7578) |
| Luminance | 0.2694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.99
Drab
#828344
ΔE00 6.25
Dark Sand
#A88F59
ΔE00 6.26
Khaki (survey)
#AAA662
ΔE00 7.21
Dark Beige
#AC9362
ΔE00 7.44
Camo
#7F8F4E
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F4C #4C5699
analogous
#99694C #998F4C #7C994C
triadic
#998F4C #4C998F #8F4C99
tetradic
#998F4C #4C9969 #4C5699 #994C7C
square
#998F4C #4C9969 #4C5699 #994C7C
split-complementary
#998F4C #4C7C99 #694C99
monochromatic
#474323 #706938 #998F4C #B6AC6C #CAC395
Accessibility & contrast
On white
3.29
#998F4C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#998F4C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F4C
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F4C | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8B46
Deuteranopia (green-blind)
#9D904F
Tritanopia (blue-blind)
#A3877F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f4c; /* rgb */ color: rgb(153, 143, 76); /* oklch */ color: oklch(64.4% 0.089 100.9);
Tailwind
colors: {
custom: {
50: '#b9af80',
500: '#998f4c',
950: '#000000',
},
}SCSS
$custom: #998f4c; $custom-light: #b9af80; $custom-dark: #000000;
JSON
{
"hex": "#998f4c",
"rgb": {
"r": 153,
"g": 143,
"b": 76
},
"hsl": {
"h": 52.208,
"s": 33.624,
"l": 44.902
},
"oklch": {
"l": 0.64387,
"c": 0.08897,
"h": 100.9
},
"luminance": 0.26939
}Semantic roles & 50–950 ramp
primary
#998F4C
secondary
#8A90B7
accent
#6CCA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C