#988E1F#988E1F
#988E1F is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.125 H 104.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #988E1F |
|---|---|
| RGB | rgb(152, 142, 31) |
| HSL | hsl(55, 66%, 36%) |
| HSV | hsv(55, 80%, 60%) |
| CMYK | cmyk(0%, 6.6%, 79.6%, 40.4%) |
| CIE-LAB | lab(58.15, -8.63, 55.60) |
| CIE-LCH | lch(58.15, 56.26, 98.82°) |
| OKLab | oklab(63.63% -0.0301 0.1209) |
| OKLCH | oklch(63.63% 0.125 104) |
| XYZ | xyz(22.8703, 26.1213, 5.1333) |
| Luminance | 0.2612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.52
Baby Poo
#AB9004
ΔE00 5.64
Baby Poop Green
#8F9805
ΔE00 5.70
Baby Shit Brown
#AD900D
ΔE00 6.12
Diarrhea
#9F8303
ΔE00 6.21
Olive
#808000
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988E1F #1F2998
analogous
#98511F #988E1F #65981F
triadic
#988E1F #1F988E #8E1F98
tetradic
#988E1F #1F9851 #1F2998 #981F65
square
#988E1F #1F9851 #1F2998 #981F65
split-complementary
#988E1F #1F6598 #511F98
monochromatic
#322F0A #655F15 #988E1F #CBBD29 #DCD155
Accessibility & contrast
On white
3.37
#988E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#988E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988E1F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988E1F | 1.00 | 3.37 | 6.22 | 6.22 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8901
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#A48479
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #988e1f; /* rgb */ color: rgb(152, 142, 31); /* oklch */ color: oklch(63.6% 0.125 104.0);
Tailwind
colors: {
custom: {
50: '#baae65',
500: '#988e1f',
950: '#000000',
},
}SCSS
$custom: #988e1f; $custom-light: #baae65; $custom-dark: #000000;
JSON
{
"hex": "#988e1f",
"rgb": {
"r": 152,
"g": 142,
"b": 31
},
"hsl": {
"h": 55.041,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.63629,
"c": 0.1246,
"h": 104
},
"luminance": 0.2612
}Semantic roles & 50–950 ramp
primary
#988E1F
secondary
#535CC0
accent
#4DE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A