#998B4A#998B4A
#998B4A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.087 H 97.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #998B4A |
|---|---|
| RGB | rgb(153, 139, 74) |
| HSL | hsl(49, 35%, 45%) |
| HSV | hsv(49, 52%, 60%) |
| CMYK | cmyk(0%, 9.2%, 51.6%, 40%) |
| CIE-LAB | lab(57.78, -3.74, 36.38) |
| CIE-LCH | lch(57.78, 36.57, 95.87°) |
| OKLab | oklab(63.48% -0.0113 0.0865) |
| OKLCH | oklch(63.48% 0.087 97.5) |
| XYZ | xyz(23.6063, 25.7329, 10.2007) |
| Luminance | 0.2573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.07
Dark Sand
#A88F59
ΔE00 5.30
Drab
#828344
ΔE00 6.39
Dark Beige
#AC9362
ΔE00 6.77
Diarrhea
#9F8303
ΔE00 8.36
Dark Tan
#AF884A
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998B4A #4A5899
analogous
#99644A #998B4A #80994A
triadic
#998B4A #4A998B #8B4A99
tetradic
#998B4A #4A9964 #4A5899 #994A80
square
#998B4A #4A9964 #4A5899 #994A80
split-complementary
#998B4A #4A8099 #644A99
monochromatic
#474022 #706636 #998B4A #B7A96A #CBC193
Accessibility & contrast
On white
3.42
#998B4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#998B4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998B4A
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998B4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998B4A | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968844
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#A3837C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #998b4a; /* rgb */ color: rgb(153, 139, 74); /* oklch */ color: oklch(63.5% 0.087 97.5);
Tailwind
colors: {
custom: {
50: '#b9ac7e',
500: '#998b4a',
950: '#000000',
},
}SCSS
$custom: #998b4a; $custom-light: #b9ac7e; $custom-dark: #000000;
JSON
{
"hex": "#998b4a",
"rgb": {
"r": 153,
"g": 139,
"b": 74
},
"hsl": {
"h": 49.367,
"s": 34.802,
"l": 44.51
},
"oklch": {
"l": 0.63479,
"c": 0.08719,
"h": 97.5
},
"luminance": 0.25732
}Semantic roles & 50–950 ramp
primary
#998B4A
secondary
#8890B7
accent
#70CB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C