#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
RGBrgb(153, 130, 32)
HSLhsl(49, 65%, 36%)
HSVhsv(49, 79%, 60%)
CMYKcmyk(0%, 15%, 79.1%, 40%)
CIE-LABlab(54.91, -1.56, 52.36)
CIE-LCHlch(54.91, 52.38, 91.70°)
OKLaboklab(61.08% -0.0101 0.1141)
OKLCHoklch(61.08% 0.115 95)
XYZxyz(21.3814, 22.8431, 4.6492)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##9982201.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.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

Preview Lab

Preview with #998220

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#998220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva