#988D1F#988D1F
#988D1F is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.124 H 103.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #988D1F |
|---|---|
| RGB | rgb(152, 141, 31) |
| HSL | hsl(55, 66%, 36%) |
| HSV | hsv(55, 80%, 60%) |
| CMYK | cmyk(0%, 7.2%, 79.6%, 40.4%) |
| CIE-LAB | lab(57.87, -8.09, 55.34) |
| CIE-LCH | lch(57.87, 55.93, 98.32°) |
| OKLab | oklab(63.41% -0.0286 0.1204) |
| OKLCH | oklch(63.41% 0.124 103.3) |
| XYZ | xyz(22.7221, 25.8251, 5.0839) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.50
Diarrhea
#9F8303
ΔE00 5.83
Pea Soup
#929901
ΔE00 5.92
Baby Shit Brown
#AD900D
ΔE00 5.96
Baby Poop Green
#8F9805
ΔE00 6.09
Dark Mustard
#A88905
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988D1F #1F2A98
analogous
#98501F #988D1F #66981F
triadic
#988D1F #1F988D #8D1F98
tetradic
#988D1F #1F9850 #1F2A98 #981F66
square
#988D1F #1F9850 #1F2A98 #981F66
split-complementary
#988D1F #1F6698 #501F98
monochromatic
#322F0A #655E15 #988D1F #CBBC29 #DCD055
Accessibility & contrast
On white
3.41
#988D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#988D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988D1F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988D1F | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8801
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#A48379
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #988d1f; /* rgb */ color: rgb(152, 141, 31); /* oklch */ color: oklch(63.4% 0.124 103.3);
Tailwind
colors: {
custom: {
50: '#baae65',
500: '#988d1f',
950: '#000000',
},
}SCSS
$custom: #988d1f; $custom-light: #baae65; $custom-dark: #000000;
JSON
{
"hex": "#988d1f",
"rgb": {
"r": 152,
"g": 141,
"b": 31
},
"hsl": {
"h": 54.545,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.63406,
"c": 0.12371,
"h": 103.3
},
"luminance": 0.25824
}Semantic roles & 50–950 ramp
primary
#988D1F
secondary
#535DC0
accent
#4EE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A