#998221#998221
#998221 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.114 H 95.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #998221 |
|---|---|
| RGB | rgb(153, 130, 33) |
| HSL | hsl(49, 65%, 36%) |
| HSV | hsv(49, 78%, 60%) |
| CMYK | cmyk(0%, 15%, 78.4%, 40%) |
| CIE-LAB | lab(54.92, -1.52, 52.00) |
| CIE-LCH | lch(54.92, 52.02, 91.67°) |
| OKLab | oklab(61.09% -0.0099 0.1136) |
| OKLCH | oklch(61.09% 0.114 95) |
| XYZ | xyz(21.3952, 22.8486, 4.7218) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.66
Baby Poop
#937C00
ΔE00 2.88
Yellowish Brown
#9B7A01
ΔE00 4.06
Puke Brown
#947706
ΔE00 4.27
Dark Mustard
#A88905
ΔE00 4.49
Hazel
#8E7618
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998221 #213899
analogous
#994621 #998221 #749921
triadic
#998221 #219982 #822199
tetradic
#998221 #219946 #213899 #992174
square
#998221 #219946 #213899 #992174
split-complementary
#998221 #217499 #462199
monochromatic
#342C0B #675716 #998221 #CBAD2C #DBC259
Accessibility & contrast
On white
3.77
#998221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#998221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998221
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998221 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#A6776F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #998221; /* rgb */ color: rgb(153, 130, 33); /* oklch */ color: oklch(61.1% 0.114 95.0);
Tailwind
colors: {
custom: {
50: '#bba565',
500: '#998221',
950: '#000000',
},
}SCSS
$custom: #998221; $custom-light: #bba565; $custom-dark: #000000;
JSON
{
"hex": "#998221",
"rgb": {
"r": 153,
"g": 130,
"b": 33
},
"hsl": {
"h": 48.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.61088,
"c": 0.11401,
"h": 95
},
"luminance": 0.22847
}Semantic roles & 50–950 ramp
primary
#998221
secondary
#566BBF
accent
#60E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A