#988E4F#988E4F
#988E4F is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.085 H 100.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #988E4F |
|---|---|
| RGB | rgb(152, 142, 79) |
| HSL | hsl(52, 32%, 45%) |
| HSV | hsv(52, 48%, 60%) |
| CMYK | cmyk(0%, 6.6%, 48%, 40.4%) |
| CIE-LAB | lab(58.59, -5.33, 34.72) |
| CIE-LCH | lch(58.59, 35.13, 98.73°) |
| OKLab | oklab(64.12% -0.0153 0.0832) |
| OKLCH | oklch(64.12% 0.085 100.4) |
| XYZ | xyz(24.0338, 26.5867, 11.2614) |
| Luminance | 0.2659 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.39
Drab
#828344
ΔE00 5.97
Dark Sand
#A88F59
ΔE00 5.98
Dark Beige
#AC9362
ΔE00 7.14
Khaki (survey)
#AAA662
ΔE00 7.53
Camo
#7F8F4E
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988E4F #4F5998
analogous
#98694F #988E4F #7D984F
triadic
#988E4F #4F988E #8E4F98
tetradic
#988E4F #4F9869 #4F5998 #984F7D
square
#988E4F #4F9869 #4F5998 #984F7D
split-complementary
#988E4F #4F7D98 #694F98
monochromatic
#474325 #70683A #988E4F #B5AB70 #C9C398
Accessibility & contrast
On white
3.32
#988E4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#988E4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988E4F
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988E4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988E4F | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998B4A
Deuteranopia (green-blind)
#9C8F52
Tritanopia (blue-blind)
#A2867F
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #988e4f; /* rgb */ color: rgb(152, 142, 79); /* oklch */ color: oklch(64.1% 0.085 100.4);
Tailwind
colors: {
custom: {
50: '#b8ae82',
500: '#988e4f',
950: '#000000',
},
}SCSS
$custom: #988e4f; $custom-light: #b8ae82; $custom-dark: #000000;
JSON
{
"hex": "#988e4f",
"rgb": {
"r": 152,
"g": 142,
"b": 79
},
"hsl": {
"h": 51.781,
"s": 31.602,
"l": 45.294
},
"oklch": {
"l": 0.64118,
"c": 0.08462,
"h": 100.4
},
"luminance": 0.26586
}Semantic roles & 50–950 ramp
primary
#988E4F
secondary
#8D92B6
accent
#6EC860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100A
muted
#807F7C