#998F41#998F41
#998F41 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.100 H 102.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #998F41 |
|---|---|
| RGB | rgb(153, 143, 65) |
| HSL | hsl(53, 40%, 43%) |
| HSV | hsv(53, 58%, 60%) |
| CMYK | cmyk(0%, 6.5%, 57.5%, 40%) |
| CIE-LAB | lab(58.79, -6.71, 42.11) |
| CIE-LCH | lch(58.79, 42.64, 99.06°) |
| OKLab | oklab(64.24% -0.0209 0.098) |
| OKLCH | oklch(64.24% 0.1 102.1) |
| XYZ | xyz(23.9143, 26.7998, 8.9132) |
| Luminance | 0.2680 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.87
Drab
#828344
ΔE00 6.71
Dark Sand
#A88F59
ΔE00 7.39
Khaki (survey)
#AAA662
ΔE00 7.63
Baby Poo
#AB9004
ΔE00 7.90
Baby Poop Green
#8F9805
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F41 #414B99
analogous
#996341 #998F41 #779941
triadic
#998F41 #41998F #8F4199
tetradic
#998F41 #419963 #414B99 #994177
square
#998F41 #419963 #414B99 #994177
split-complementary
#998F41 #417799 #634199
monochromatic
#433F1D #6E672F #998F41 #BAB05D #CCC588
Accessibility & contrast
On white
3.30
#998F41 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#998F41 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F41
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F41 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8B39
Deuteranopia (green-blind)
#9E8F45
Tritanopia (blue-blind)
#A4867E
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998f41; /* rgb */ color: rgb(153, 143, 65); /* oklch */ color: oklch(64.2% 0.100 102.1);
Tailwind
colors: {
custom: {
50: '#b9af78',
500: '#998f41',
950: '#000000',
},
}SCSS
$custom: #998f41; $custom-light: #b9af78; $custom-dark: #000000;
JSON
{
"hex": "#998f41",
"rgb": {
"r": 153,
"g": 143,
"b": 65
},
"hsl": {
"h": 53.182,
"s": 40.367,
"l": 42.745
},
"oklch": {
"l": 0.64242,
"c": 0.10017,
"h": 102.1
},
"luminance": 0.26799
}Semantic roles & 50–950 ramp
primary
#998F41
secondary
#7F85B7
accent
#65D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B