#998D4B#998D4B
#998D4B is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.088 H 99.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #998D4B |
|---|---|
| RGB | rgb(153, 141, 75) |
| HSL | hsl(51, 34%, 45%) |
| HSV | hsv(51, 51%, 60%) |
| CMYK | cmyk(0%, 7.8%, 51%, 40%) |
| CIE-LAB | lab(58.35, -4.74, 36.54) |
| CIE-LCH | lch(58.35, 36.85, 97.39°) |
| OKLab | oklab(63.93% -0.0141 0.0869) |
| OKLCH | oklch(63.93% 0.088 99.2) |
| XYZ | xyz(23.9325, 26.3309, 10.4770) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.83
Dark Sand
#A88F59
ΔE00 5.74
Drab
#828344
ΔE00 6.25
Dark Beige
#AC9362
ΔE00 7.06
Khaki (survey)
#AAA662
ΔE00 7.92
Diarrhea
#9F8303
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998D4B #4B5799
analogous
#99664B #998D4B #7E994B
triadic
#998D4B #4B998D #8D4B99
tetradic
#998D4B #4B9966 #4B5799 #994B7E
square
#998D4B #4B9966 #4B5799 #994B7E
split-complementary
#998D4B #4B7E99 #664B99
monochromatic
#474123 #706737 #998D4B #B6AB6B #CBC294
Accessibility & contrast
On white
3.35
#998D4B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#998D4B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998D4B
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998D4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998D4B | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988A45
Deuteranopia (green-blind)
#9C8E4E
Tritanopia (blue-blind)
#A3857E
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #998d4b; /* rgb */ color: rgb(153, 141, 75); /* oklch */ color: oklch(63.9% 0.088 99.2);
Tailwind
colors: {
custom: {
50: '#b9ae7f',
500: '#998d4b',
950: '#000000',
},
}SCSS
$custom: #998d4b; $custom-light: #b9ae7f; $custom-dark: #000000;
JSON
{
"hex": "#998d4b",
"rgb": {
"r": 153,
"g": 141,
"b": 75
},
"hsl": {
"h": 50.769,
"s": 34.211,
"l": 44.706
},
"oklch": {
"l": 0.63932,
"c": 0.08804,
"h": 99.2
},
"luminance": 0.2633
}Semantic roles & 50–950 ramp
primary
#998D4B
secondary
#8990B7
accent
#6ECA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C