#998E4D#998E4D
#998E4D is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.087 H 99.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #998E4D |
|---|---|
| RGB | rgb(153, 142, 77) |
| HSL | hsl(51, 33%, 45%) |
| HSV | hsv(51, 50%, 60%) |
| CMYK | cmyk(0%, 7.2%, 49.7%, 40%) |
| CIE-LAB | lab(58.65, -5.10, 35.87) |
| CIE-LCH | lch(58.65, 36.23, 98.09°) |
| OKLab | oklab(64.18% -0.0149 0.0856) |
| OKLCH | oklch(64.18% 0.087 99.9) |
| XYZ | xyz(24.1501, 26.6550, 10.8925) |
| Luminance | 0.2665 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.58
Dark Sand
#A88F59
ΔE00 5.84
Drab
#828344
ΔE00 6.22
Dark Beige
#AC9362
ΔE00 7.07
Khaki (survey)
#AAA662
ΔE00 7.55
Camo
#7F8F4E
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E4D #4D5899
analogous
#99684D #998E4D #7E994D
triadic
#998E4D #4D998E #8E4D99
tetradic
#998E4D #4D9968 #4D5899 #994D7E
square
#998E4D #4D9968 #4D5899 #994D7E
split-complementary
#998E4D #4D7E99 #684D99
monochromatic
#484224 #706839 #998E4D #B6AB6D #CAC396
Accessibility & contrast
On white
3.32
#998E4D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#998E4D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E4D
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E4D | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998B47
Deuteranopia (green-blind)
#9C8F50
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998e4d; /* rgb */ color: rgb(153, 142, 77); /* oklch */ color: oklch(64.2% 0.087 99.9);
Tailwind
colors: {
custom: {
50: '#b9ae80',
500: '#998e4d',
950: '#000000',
},
}SCSS
$custom: #998e4d; $custom-light: #b9ae80; $custom-dark: #000000;
JSON
{
"hex": "#998e4d",
"rgb": {
"r": 153,
"g": 142,
"b": 77
},
"hsl": {
"h": 51.316,
"s": 33.043,
"l": 45.098
},
"oklch": {
"l": 0.64181,
"c": 0.08688,
"h": 99.9
},
"luminance": 0.26654
}Semantic roles & 50–950 ramp
primary
#998E4D
secondary
#8B91B7
accent
#6EC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C