#998F48#998F48
#998F48 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.093 H 101.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #998F48 |
|---|---|
| RGB | rgb(153, 143, 72) |
| HSL | hsl(53, 36%, 44%) |
| HSV | hsv(53, 53%, 60%) |
| CMYK | cmyk(0%, 6.5%, 52.9%, 40%) |
| CIE-LAB | lab(58.87, -6.11, 38.70) |
| CIE-LCH | lch(58.87, 39.18, 98.97°) |
| OKLab | oklab(64.33% -0.0184 0.0914) |
| OKLCH | oklch(64.33% 0.093 101.4) |
| XYZ | xyz(24.1298, 26.8860, 10.0481) |
| Luminance | 0.2688 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.69
Drab
#828344
ΔE00 6.35
Dark Sand
#A88F59
ΔE00 6.65
Khaki (survey)
#AAA662
ΔE00 7.31
Dark Beige
#AC9362
ΔE00 7.89
Camo
#7F8F4E
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F48 #485299
analogous
#996748 #998F48 #7B9948
triadic
#998F48 #48998F #8F4899
tetradic
#998F48 #489967 #485299 #99487B
square
#998F48 #489967 #485299 #99487B
split-complementary
#998F48 #487B99 #674899
monochromatic
#464121 #6F6834 #998F48 #B7AD67 #CBC490
Accessibility & contrast
On white
3.29
#998F48 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#998F48 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F48
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F48 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8B42
Deuteranopia (green-blind)
#9D904B
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f48; /* rgb */ color: rgb(153, 143, 72); /* oklch */ color: oklch(64.3% 0.093 101.4);
Tailwind
colors: {
custom: {
50: '#b9af7d',
500: '#998f48',
950: '#000000',
},
}SCSS
$custom: #998f48; $custom-light: #b9af7d; $custom-dark: #000000;
JSON
{
"hex": "#998f48",
"rgb": {
"r": 153,
"g": 143,
"b": 72
},
"hsl": {
"h": 52.593,
"s": 36,
"l": 44.118
},
"oklch": {
"l": 0.64331,
"c": 0.09319,
"h": 101.4
},
"luminance": 0.26885
}Semantic roles & 50–950 ramp
primary
#998F48
secondary
#868CB7
accent
#6ACC5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C