#998F47#998F47
#998F47 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.094 H 101.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #998F47 |
|---|---|
| RGB | rgb(153, 143, 71) |
| HSL | hsl(53, 37%, 44%) |
| HSV | hsv(53, 54%, 60%) |
| CMYK | cmyk(0%, 6.5%, 53.6%, 40%) |
| CIE-LAB | lab(58.86, -6.20, 39.20) |
| CIE-LCH | lch(58.86, 39.68, 98.99°) |
| OKLab | oklab(64.32% -0.0188 0.0923) |
| OKLCH | oklch(64.32% 0.094 101.5) |
| XYZ | xyz(24.0974, 26.8730, 9.8777) |
| Luminance | 0.2687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.86
Drab
#828344
ΔE00 6.39
Dark Sand
#A88F59
ΔE00 6.75
Khaki (survey)
#AAA662
ΔE00 7.34
Dark Beige
#AC9362
ΔE00 8.01
Camo
#7F8F4E
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998F47 #475199
analogous
#996647 #998F47 #7A9947
triadic
#998F47 #47998F #8F4799
tetradic
#998F47 #479966 #475199 #99477A
square
#998F47 #479966 #475199 #99477A
split-complementary
#998F47 #477A99 #664799
monochromatic
#454120 #6F6834 #998F47 #B8AE65 #CBC48F
Accessibility & contrast
On white
3.29
#998F47 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#998F47 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998F47
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998F47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998F47 | 1.00 | 3.29 | 6.37 | 6.37 |
| #FFFFFF | 3.29 | 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)
#9A8B40
Deuteranopia (green-blind)
#9D904A
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #998f47; /* rgb */ color: rgb(153, 143, 71); /* oklch */ color: oklch(64.3% 0.094 101.5);
Tailwind
colors: {
custom: {
50: '#b9af7c',
500: '#998f47',
950: '#000000',
},
}SCSS
$custom: #998f47; $custom-light: #b9af7c; $custom-dark: #000000;
JSON
{
"hex": "#998f47",
"rgb": {
"r": 153,
"g": 143,
"b": 71
},
"hsl": {
"h": 52.683,
"s": 36.607,
"l": 43.922
},
"oklch": {
"l": 0.64318,
"c": 0.09423,
"h": 101.5
},
"luminance": 0.26872
}Semantic roles & 50–950 ramp
primary
#998F47
secondary
#858BB7
accent
#69CD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C