#988E2A#988E2A
#988E2A is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.118 H 103.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #988E2A |
|---|---|
| RGB | rgb(152, 142, 42) |
| HSL | hsl(55, 57%, 38%) |
| HSV | hsv(55, 72%, 60%) |
| CMYK | cmyk(0%, 6.6%, 72.4%, 40.4%) |
| CIE-LAB | lab(58.22, -8.14, 51.72) |
| CIE-LCH | lch(58.22, 52.36, 98.94°) |
| OKLab | oklab(63.7% -0.0276 0.1148) |
| OKLCH | oklch(63.7% 0.118 103.5) |
| XYZ | xyz(23.0408, 26.1895, 6.0315) |
| Luminance | 0.2619 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 6.00
Baby Poop Green
#8F9805
ΔE00 6.10
Baby Poo
#AB9004
ΔE00 6.11
Diarrhea
#9F8303
ΔE00 6.47
Baby Shit Brown
#AD900D
ΔE00 6.49
Olive
#808000
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988E2A #2A3498
analogous
#98572A #988E2A #6B982A
triadic
#988E2A #2A988E #8E2A98
tetradic
#988E2A #2A9857 #2A3498 #982A6B
square
#988E2A #2A9857 #2A3498 #982A6B
split-complementary
#988E2A #2A6B98 #572A98
monochromatic
#383410 #68611D #988E2A #C8BB37 #D5CB67
Accessibility & contrast
On white
3.37
#988E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#988E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988E2A
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988E2A | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 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)
#9B891A
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #988e2a; /* rgb */ color: rgb(152, 142, 42); /* oklch */ color: oklch(63.7% 0.118 103.5);
Tailwind
colors: {
custom: {
50: '#baae6a',
500: '#988e2a',
950: '#000000',
},
}SCSS
$custom: #988e2a; $custom-light: #baae6a; $custom-dark: #000000;
JSON
{
"hex": "#988e2a",
"rgb": {
"r": 152,
"g": 142,
"b": 42
},
"hsl": {
"h": 54.545,
"s": 56.701,
"l": 38.039
},
"oklch": {
"l": 0.63701,
"c": 0.11808,
"h": 103.5
},
"luminance": 0.26189
}Semantic roles & 50–950 ramp
primary
#988E2A
secondary
#626ABB
accent
#56E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A