#988C22#988C22
#988C22 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.121 H 102.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #988C22 |
|---|---|
| RGB | rgb(152, 140, 34) |
| HSL | hsl(54, 63%, 36%) |
| HSV | hsv(54, 78%, 60%) |
| CMYK | cmyk(0%, 7.9%, 77.6%, 40.4%) |
| CIE-LAB | lab(57.61, -7.43, 54.10) |
| CIE-LCH | lch(57.61, 54.61, 97.82°) |
| OKLab | oklab(63.2% -0.0264 0.1183) |
| OKLCH | oklch(63.2% 0.121 102.6) |
| XYZ | xyz(22.6168, 25.5481, 5.2530) |
| Luminance | 0.2555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.49
Diarrhea
#9F8303
ΔE00 5.52
Baby Shit Brown
#AD900D
ΔE00 5.91
Dark Mustard
#A88905
ΔE00 5.98
Baby Poop
#937C00
ΔE00 6.21
Olive
#808000
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988C22 #222E98
analogous
#985122 #988C22 #699822
triadic
#988C22 #22988C #8C2298
tetradic
#988C22 #229851 #222E98 #982269
square
#988C22 #229851 #222E98 #982269
split-complementary
#988C22 #226998 #512298
monochromatic
#34300C #665E17 #988C22 #CABA2D #DACD5A
Accessibility & contrast
On white
3.44
#988C22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#988C22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988C22
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988C22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988C22 | 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)
#99870A
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#A48278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #988c22; /* rgb */ color: rgb(152, 140, 34); /* oklch */ color: oklch(63.2% 0.121 102.6);
Tailwind
colors: {
custom: {
50: '#baad66',
500: '#988c22',
950: '#000000',
},
}SCSS
$custom: #988c22; $custom-light: #baad66; $custom-dark: #000000;
JSON
{
"hex": "#988c22",
"rgb": {
"r": 152,
"g": 140,
"b": 34
},
"hsl": {
"h": 53.898,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.632,
"c": 0.12121,
"h": 102.6
},
"luminance": 0.25547
}Semantic roles & 50–950 ramp
primary
#988C22
secondary
#5762BE
accent
#52E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A