#998E4E#998E4E
#998E4E is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.086 H 99.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #998E4E |
|---|---|
| RGB | rgb(153, 142, 78) |
| HSL | hsl(51, 32%, 45%) |
| HSV | hsv(51, 49%, 60%) |
| CMYK | cmyk(0%, 7.2%, 49%, 40%) |
| CIE-LAB | lab(58.67, -5.00, 35.36) |
| CIE-LCH | lch(58.67, 35.71, 98.04°) |
| OKLab | oklab(64.2% -0.0145 0.0846) |
| OKLCH | oklch(64.2% 0.086 99.7) |
| XYZ | xyz(24.1857, 26.6692, 11.0799) |
| Luminance | 0.2667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.40
Dark Sand
#A88F59
ΔE00 5.75
Drab
#828344
ΔE00 6.23
Dark Beige
#AC9362
ΔE00 6.96
Khaki (survey)
#AAA662
ΔE00 7.55
Camo
#7F8F4E
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998E4E #4E5999
analogous
#99684E #998E4E #7E994E
triadic
#998E4E #4E998E #8E4E99
tetradic
#998E4E #4E9968 #4E5999 #994E7E
square
#998E4E #4E9968 #4E5999 #994E7E
split-complementary
#998E4E #4E7E99 #684E99
monochromatic
#484325 #706839 #998E4E #B5AB6F #CAC397
Accessibility & contrast
On white
3.32
#998E4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#998E4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998E4E
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998E4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998E4E | 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)
#998B49
Deuteranopia (green-blind)
#9C8F51
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #998e4e; /* rgb */ color: rgb(153, 142, 78); /* oklch */ color: oklch(64.2% 0.086 99.7);
Tailwind
colors: {
custom: {
50: '#b9ae81',
500: '#998e4e',
950: '#000000',
},
}SCSS
$custom: #998e4e; $custom-light: #b9ae81; $custom-dark: #000000;
JSON
{
"hex": "#998e4e",
"rgb": {
"r": 153,
"g": 142,
"b": 78
},
"hsl": {
"h": 51.2,
"s": 32.468,
"l": 45.294
},
"oklch": {
"l": 0.64196,
"c": 0.08579,
"h": 99.7
},
"luminance": 0.26668
}Semantic roles & 50–950 ramp
primary
#998E4E
secondary
#8C92B7
accent
#6FC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C