#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
RGBrgb(153, 130, 33)
HSLhsl(49, 65%, 36%)
HSVhsv(49, 78%, 60%)
CMYKcmyk(0%, 15%, 78.4%, 40%)
CIE-LABlab(54.92, -1.52, 52.00)
CIE-LCHlch(54.92, 52.02, 91.67°)
OKLaboklab(61.09% -0.0099 0.1136)
OKLCHoklch(61.09% 0.114 95)
XYZxyz(21.3952, 22.8486, 4.7218)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##9982211.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)
#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

Preview Lab

Preview with #998221

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

Preview Lab → · Contrast checker → · Palette generator →

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