#998F54#998F54
#998F54 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.080 H 99.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #998F54 |
|---|---|
| RGB | rgb(153, 143, 84) |
| HSL | hsl(51, 29%, 46%) |
| HSV | hsv(51, 45%, 60%) |
| CMYK | cmyk(0%, 6.5%, 45.1%, 40%) |
| CIE-LAB | lab(59.03, -4.93, 32.64) |
| CIE-LCH | lch(59.03, 33.01, 98.59°) |
| OKLab | oklab(64.51% -0.0137 0.0789) |
| OKLCH | oklch(64.51% 0.08 99.9) |
| XYZ | xyz(24.5601, 27.0581, 12.3148) |
| Luminance | 0.2706 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.75
Dark Sand
#A88F59
ΔE00 5.62
Drab
#828344
ΔE00 6.35
Dark Beige
#AC9362
ΔE00 6.62
Khaki (survey)
#AAA662
ΔE00 7.28
Moss Green
#8A9A5B
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F54 #545E99
analogous
#996D54 #998F54 #819954
triadic
#998F54 #54998F #8F5499
tetradic
#998F54 #54996D #545E99 #995481
square
#998F54 #54996D #545E99 #995481
split-complementary
#998F54 #548199 #6D5499
monochromatic
#4A4529 #716A3E #998F54 #B4AB76 #CAC39E
Accessibility & contrast
On white
3.28
#998F54 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#998F54 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F54
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F54 | 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)
#998C4F
Deuteranopia (green-blind)
#9C9056
Tritanopia (blue-blind)
#A28781
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f54; /* rgb */ color: rgb(153, 143, 84); /* oklch */ color: oklch(64.5% 0.080 99.9);
Tailwind
colors: {
custom: {
50: '#b8af85',
500: '#998f54',
950: '#000000',
},
}SCSS
$custom: #998f54; $custom-light: #b8af85; $custom-dark: #000000;
JSON
{
"hex": "#998f54",
"rgb": {
"r": 153,
"g": 143,
"b": 84
},
"hsl": {
"h": 51.304,
"s": 29.114,
"l": 46.471
},
"oklch": {
"l": 0.64509,
"c": 0.08008,
"h": 99.9
},
"luminance": 0.27057
}Semantic roles & 50–950 ramp
primary
#998F54
secondary
#9297B7
accent
#71C562
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C