#988E2E#988E2E
#988E2E is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.115 H 103.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #988E2E |
|---|---|
| RGB | rgb(152, 142, 46) |
| HSL | hsl(54, 54%, 39%) |
| HSV | hsv(54, 70%, 60%) |
| CMYK | cmyk(0%, 6.6%, 69.7%, 40.4%) |
| CIE-LAB | lab(58.24, -7.92, 50.13) |
| CIE-LCH | lch(58.24, 50.76, 98.98°) |
| OKLab | oklab(63.73% -0.0266 0.1122) |
| OKLCH | oklch(63.73% 0.115 103.3) |
| XYZ | xyz(23.1160, 26.2196, 6.4275) |
| Luminance | 0.2622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.26
Baby Poop Green
#8F9805
ΔE00 6.34
Baby Poo
#AB9004
ΔE00 6.35
Dark Khaki
#9B8F55
ΔE00 6.44
Diarrhea
#9F8303
ΔE00 6.63
Baby Shit Brown
#AD900D
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988E2E #2E3898
analogous
#98592E #988E2E #6D982E
triadic
#988E2E #2E988E #8E2E98
tetradic
#988E2E #2E9859 #2E3898 #982E6D
square
#988E2E #2E9859 #2E3898 #982E6D
split-complementary
#988E2E #2E6D98 #592E98
monochromatic
#3A3612 #696220 #988E2E #C5B83E #D3C96D
Accessibility & contrast
On white
3.36
#988E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#988E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988E2E
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988E2E | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A3847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #988e2e; /* rgb */ color: rgb(152, 142, 46); /* oklch */ color: oklch(63.7% 0.115 103.3);
Tailwind
colors: {
custom: {
50: '#b9ae6d',
500: '#988e2e',
950: '#000000',
},
}SCSS
$custom: #988e2e; $custom-light: #b9ae6d; $custom-dark: #000000;
JSON
{
"hex": "#988e2e",
"rgb": {
"r": 152,
"g": 142,
"b": 46
},
"hsl": {
"h": 54.34,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.63733,
"c": 0.1153,
"h": 103.3
},
"luminance": 0.26219
}Semantic roles & 50–950 ramp
primary
#988E2E
secondary
#686FBA
accent
#59DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A