#998F52#998F52
#998F52 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.082 H 100.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #998F52 |
|---|---|
| RGB | rgb(153, 143, 82) |
| HSL | hsl(52, 30%, 46%) |
| HSV | hsv(52, 46%, 60%) |
| CMYK | cmyk(0%, 6.5%, 46.4%, 40%) |
| CIE-LAB | lab(59.00, -5.14, 33.67) |
| CIE-LCH | lch(59.00, 34.06, 98.68°) |
| OKLab | oklab(64.48% -0.0145 0.0811) |
| OKLCH | oklch(64.48% 0.082 100.1) |
| XYZ | xyz(24.4829, 27.0272, 11.9081) |
| Luminance | 0.2703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.97
Dark Sand
#A88F59
ΔE00 5.75
Drab
#828344
ΔE00 6.28
Dark Beige
#AC9362
ΔE00 6.80
Khaki (survey)
#AAA662
ΔE00 7.23
Camo
#7F8F4E
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F52 #525C99
analogous
#996B52 #998F52 #7F9952
triadic
#998F52 #52998F #8F5299
tetradic
#998F52 #52996B #525C99 #99527F
square
#998F52 #52996B #525C99 #99527F
split-complementary
#998F52 #527F99 #6B5299
monochromatic
#494527 #716A3D #998F52 #B4AB74 #CAC39C
Accessibility & contrast
On white
3.28
#998F52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#998F52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F52
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F52 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998C4D
Deuteranopia (green-blind)
#9C9055
Tritanopia (blue-blind)
#A38780
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f52; /* rgb */ color: rgb(153, 143, 82); /* oklch */ color: oklch(64.5% 0.082 100.1);
Tailwind
colors: {
custom: {
50: '#b8af84',
500: '#998f52',
950: '#000000',
},
}SCSS
$custom: #998f52; $custom-light: #b8af84; $custom-dark: #000000;
JSON
{
"hex": "#998f52",
"rgb": {
"r": 153,
"g": 143,
"b": 82
},
"hsl": {
"h": 51.549,
"s": 30.213,
"l": 46.078
},
"oklch": {
"l": 0.64478,
"c": 0.08236,
"h": 100.1
},
"luminance": 0.27026
}Semantic roles & 50–950 ramp
primary
#998F52
secondary
#9095B7
accent
#70C661
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C