#998220#998220
#998220 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.115 H 95.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #998220 |
|---|---|
| RGB | rgb(153, 130, 32) |
| HSL | hsl(49, 65%, 36%) |
| HSV | hsv(49, 79%, 60%) |
| CMYK | cmyk(0%, 15%, 79.1%, 40%) |
| CIE-LAB | lab(54.91, -1.56, 52.36) |
| CIE-LCH | lch(54.91, 52.38, 91.70°) |
| OKLab | oklab(61.08% -0.0101 0.1141) |
| OKLCH | oklch(61.08% 0.115 95) |
| XYZ | xyz(21.3814, 22.8431, 4.6492) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.58
Baby Poop
#937C00
ΔE00 2.81
Yellowish Brown
#9B7A01
ΔE00 4.03
Puke Brown
#947706
ΔE00 4.25
Dark Mustard
#A88905
ΔE00 4.43
Hazel
#8E7618
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#998220 #203799
analogous
#994620 #998220 #749920
triadic
#998220 #209982 #822099
tetradic
#998220 #209946 #203799 #992074
square
#998220 #209946 #203799 #992074
split-complementary
#998220 #207499 #462099
monochromatic
#342C0B #665715 #998220 #CCAD2B #DCC357
Accessibility & contrast
On white
3.77
#998220 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#998220 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #998220
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##998220 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##998220 | 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)
#907F0B
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#A6776F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #998220; /* rgb */ color: rgb(153, 130, 32); /* oklch */ color: oklch(61.1% 0.115 95.0);
Tailwind
colors: {
custom: {
50: '#bba564',
500: '#998220',
950: '#000000',
},
}SCSS
$custom: #998220; $custom-light: #bba564; $custom-dark: #000000;
JSON
{
"hex": "#998220",
"rgb": {
"r": 153,
"g": 130,
"b": 32
},
"hsl": {
"h": 48.595,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.61082,
"c": 0.11456,
"h": 95
},
"luminance": 0.22842
}Semantic roles & 50–950 ramp
primary
#998220
secondary
#5569C0
accent
#60E83F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A