#998F46#998F46
#998F46 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.095 H 101.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #998F46 |
|---|---|
| RGB | rgb(153, 143, 70) |
| HSL | hsl(53, 37%, 44%) |
| HSV | hsv(53, 54%, 60%) |
| CMYK | cmyk(0%, 6.5%, 54.2%, 40%) |
| CIE-LAB | lab(58.84, -6.29, 39.69) |
| CIE-LCH | lch(58.84, 40.18, 99.01°) |
| OKLab | oklab(64.31% -0.0191 0.0933) |
| OKLCH | oklch(64.31% 0.095 101.6) |
| XYZ | xyz(24.0656, 26.8603, 9.7100) |
| Luminance | 0.2686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.04
Drab
#828344
ΔE00 6.44
Dark Sand
#A88F59
ΔE00 6.86
Khaki (survey)
#AAA662
ΔE00 7.38
Dark Beige
#AC9362
ΔE00 8.12
Camo
#7F8F4E
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F46 #465099
analogous
#996546 #998F46 #799946
triadic
#998F46 #46998F #8F4699
tetradic
#998F46 #469965 #465099 #994679
square
#998F46 #469965 #465099 #994679
split-complementary
#998F46 #467999 #654699
monochromatic
#454120 #6F6833 #998F46 #B8AE64 #CBC48E
Accessibility & contrast
On white
3.30
#998F46 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#998F46 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F46
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F46 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8B3F
Deuteranopia (green-blind)
#9D9049
Tritanopia (blue-blind)
#A3867E
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f46; /* rgb */ color: rgb(153, 143, 70); /* oklch */ color: oklch(64.3% 0.095 101.6);
Tailwind
colors: {
custom: {
50: '#b9af7c',
500: '#998f46',
950: '#000000',
},
}SCSS
$custom: #998f46; $custom-light: #b9af7c; $custom-dark: #000000;
JSON
{
"hex": "#998f46",
"rgb": {
"r": 153,
"g": 143,
"b": 70
},
"hsl": {
"h": 52.771,
"s": 37.22,
"l": 43.725
},
"oklch": {
"l": 0.64305,
"c": 0.09524,
"h": 101.6
},
"luminance": 0.26859
}Semantic roles & 50–950 ramp
primary
#998F46
secondary
#848AB7
accent
#68CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B