#988C1F#988C1F
#988C1F is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.123 H 102.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #988C1F |
|---|---|
| RGB | rgb(152, 140, 31) |
| HSL | hsl(54, 66%, 36%) |
| HSV | hsv(54, 80%, 60%) |
| CMYK | cmyk(0%, 7.9%, 79.6%, 40.4%) |
| CIE-LAB | lab(57.59, -7.55, 55.09) |
| CIE-LCH | lch(57.59, 55.61, 97.80°) |
| OKLab | oklab(63.18% -0.027 0.1198) |
| OKLCH | oklch(63.18% 0.123 102.7) |
| XYZ | xyz(22.5754, 25.5315, 5.0350) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.38
Diarrhea
#9F8303
ΔE00 5.46
Baby Shit Brown
#AD900D
ΔE00 5.83
Dark Mustard
#A88905
ΔE00 5.91
Baby Poop
#937C00
ΔE00 6.16
Olive
#808000
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988C1F #1F2B98
analogous
#98501F #988C1F #67981F
triadic
#988C1F #1F988C #8C1F98
tetradic
#988C1F #1F9850 #1F2B98 #981F67
square
#988C1F #1F9850 #1F2B98 #981F67
split-complementary
#988C1F #1F6798 #501F98
monochromatic
#322E0A #655D15 #988C1F #CBBB29 #DCCF55
Accessibility & contrast
On white
3.44
#988C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#988C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988C1F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988C1F | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8702
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#A48278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #988c1f; /* rgb */ color: rgb(152, 140, 31); /* oklch */ color: oklch(63.2% 0.123 102.7);
Tailwind
colors: {
custom: {
50: '#baad65',
500: '#988c1f',
950: '#000000',
},
}SCSS
$custom: #988c1f; $custom-light: #baad65; $custom-dark: #000000;
JSON
{
"hex": "#988c1f",
"rgb": {
"r": 152,
"g": 140,
"b": 31
},
"hsl": {
"h": 54.05,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.63182,
"c": 0.12284,
"h": 102.7
},
"luminance": 0.2553
}Semantic roles & 50–950 ramp
primary
#988C1F
secondary
#535EC0
accent
#50E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A