#988922#988922
#988922 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.119 H 100.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #988922 |
|---|---|
| RGB | rgb(152, 137, 34) |
| HSL | hsl(52, 63%, 36%) |
| HSV | hsv(52, 78%, 60%) |
| CMYK | cmyk(0%, 9.9%, 77.6%, 40.4%) |
| CIE-LAB | lab(56.77, -5.79, 53.32) |
| CIE-LCH | lch(56.77, 53.64, 96.20°) |
| OKLab | oklab(62.53% -0.0218 0.1167) |
| OKLCH | oklch(62.53% 0.119 100.6) |
| XYZ | xyz(22.1844, 24.6833, 5.1089) |
| Luminance | 0.2468 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.47
Baby Poop
#937C00
ΔE00 5.06
Dark Mustard
#A88905
ΔE00 5.28
Baby Poo
#AB9004
ΔE00 5.34
Baby Shit Brown
#AD900D
ΔE00 5.68
Olive
#808000
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#988922 #223198
analogous
#984E22 #988922 #6C9822
triadic
#988922 #229889 #892298
tetradic
#988922 #22984E #223198 #98226C
square
#988922 #22984E #223198 #98226C
split-complementary
#988922 #226C98 #4E2298
monochromatic
#342F0C #665C17 #988922 #CAB62D #DACA5A
Accessibility & contrast
On white
3.54
#988922 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#988922 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #988922
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##988922 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##988922 | 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)
#97850C
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#A47F75
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #988922; /* rgb */ color: rgb(152, 137, 34); /* oklch */ color: oklch(62.5% 0.119 100.6);
Tailwind
colors: {
custom: {
50: '#baab66',
500: '#988922',
950: '#000000',
},
}SCSS
$custom: #988922; $custom-light: #baab66; $custom-dark: #000000;
JSON
{
"hex": "#988922",
"rgb": {
"r": 152,
"g": 137,
"b": 34
},
"hsl": {
"h": 52.373,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.62533,
"c": 0.11867,
"h": 100.6
},
"luminance": 0.24682
}Semantic roles & 50–950 ramp
primary
#988922
secondary
#5764BE
accent
#56E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A