#988921#988921
#988921 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.119 H 100.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #988921 |
|---|---|
| RGB | rgb(152, 137, 33) |
| HSL | hsl(52, 64%, 36%) |
| HSV | hsv(52, 78%, 60%) |
| CMYK | cmyk(0%, 9.9%, 78.3%, 40.4%) |
| CIE-LAB | lab(56.76, -5.84, 53.67) |
| CIE-LCH | lch(56.76, 53.98, 96.21°) |
| OKLab | oklab(62.53% -0.022 0.1172) |
| OKLCH | oklch(62.53% 0.119 100.7) |
| XYZ | xyz(22.1701, 24.6776, 5.0340) |
| Luminance | 0.2468 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.44
Baby Poop
#937C00
ΔE00 5.03
Dark Mustard
#A88905
ΔE00 5.25
Baby Poo
#AB9004
ΔE00 5.30
Baby Shit Brown
#AD900D
ΔE00 5.64
Olive
#808000
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988921 #213098
analogous
#984E21 #988921 #6C9821
triadic
#988921 #219889 #892198
tetradic
#988921 #21984E #213098 #98216C
square
#988921 #21984E #213098 #98216C
split-complementary
#988921 #216C98 #4E2198
monochromatic
#332E0B #665C16 #988921 #CAB62C #DBCA59
Accessibility & contrast
On white
3.54
#988921 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#988921 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988921
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988921 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988921 | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978509
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#A47F75
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #988921; /* rgb */ color: rgb(152, 137, 33); /* oklch */ color: oklch(62.5% 0.119 100.7);
Tailwind
colors: {
custom: {
50: '#baab65',
500: '#988921',
950: '#000000',
},
}SCSS
$custom: #988921; $custom-light: #baab65; $custom-dark: #000000;
JSON
{
"hex": "#988921",
"rgb": {
"r": 152,
"g": 137,
"b": 33
},
"hsl": {
"h": 52.437,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.62526,
"c": 0.11923,
"h": 100.7
},
"luminance": 0.24677
}Semantic roles & 50–950 ramp
primary
#988921
secondary
#5663BF
accent
#56E740
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A