#988D2E#988D2E
#988D2E is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.114 H 102.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #988D2E |
|---|---|
| RGB | rgb(152, 141, 46) |
| HSL | hsl(54, 54%, 39%) |
| HSV | hsv(54, 70%, 60%) |
| CMYK | cmyk(0%, 7.2%, 69.7%, 40.4%) |
| CIE-LAB | lab(57.96, -7.38, 49.85) |
| CIE-LCH | lch(57.96, 50.39, 98.42°) |
| OKLab | oklab(63.51% -0.025 0.1116) |
| OKLCH | oklch(63.51% 0.114 102.6) |
| XYZ | xyz(22.9679, 25.9234, 6.3781) |
| Luminance | 0.2592 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 6.24
Diarrhea
#9F8303
ΔE00 6.30
Dark Khaki
#9B8F55
ΔE00 6.34
Baby Shit Brown
#AD900D
ΔE00 6.55
Pea Soup
#929901
ΔE00 6.65
Dark Mustard
#A88905
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988D2E #2E3998
analogous
#98582E #988D2E #6E982E
triadic
#988D2E #2E988D #8D2E98
tetradic
#988D2E #2E9858 #2E3998 #982E6E
square
#988D2E #2E9858 #2E3998 #982E6E
split-complementary
#988D2E #2E6E98 #582E98
monochromatic
#3A3612 #696120 #988D2E #C5B73E #D3C86D
Accessibility & contrast
On white
3.40
#988D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#988D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988D2E
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988D2E | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8820
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#A4837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #988d2e; /* rgb */ color: rgb(152, 141, 46); /* oklch */ color: oklch(63.5% 0.114 102.6);
Tailwind
colors: {
custom: {
50: '#b9ae6d',
500: '#988d2e',
950: '#000000',
},
}SCSS
$custom: #988d2e; $custom-light: #b9ae6d; $custom-dark: #000000;
JSON
{
"hex": "#988d2e",
"rgb": {
"r": 152,
"g": 141,
"b": 46
},
"hsl": {
"h": 53.774,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.6351,
"c": 0.11437,
"h": 102.6
},
"luminance": 0.25922
}Semantic roles & 50–950 ramp
primary
#988D2E
secondary
#6870BA
accent
#5ADD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A