#997C20#997C20

#997C20 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.8% C 0.111 H 90.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#997C20
RGBrgb(153, 124, 32)
HSLhsl(46, 65%, 36%)
HSVhsv(46, 79%, 60%)
CMYKcmyk(0%, 19%, 79.1%, 40%)
CIE-LABlab(53.27, 1.80, 50.84)
CIE-LCHlch(53.27, 50.88, 87.97°)
OKLaboklab(59.79% -0.0005 0.1109)
OKLCHoklch(59.79% 0.111 90.3)
XYZxyz(20.6065, 21.2932, 4.3909)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C20 #203D99
analogous
#994020 #997C20 #7A9920
triadic
#997C20 #20997C #7C2099
tetradic
#997C20 #209940 #203D99 #99207A
square
#997C20 #209940 #203D99 #99207A
split-complementary
#997C20 #207A99 #402099
monochromatic
#342A0B #665315 #997C20 #CCA52B #DCBC57

Accessibility & contrast

On white

3.99
#997C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#997C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997C20
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997C20#FFFFFF#000000##000000
##997C201.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0E
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#A6716A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997c20;
/* rgb */ color: rgb(153, 124, 32);
/* oklch */ color: oklch(59.8% 0.111 90.3);
Tailwind
colors: {
  custom: {
    50: '#bba163',
    500: '#997c20',
    950: '#000000',
  },
}
SCSS
$custom: #997c20;
$custom-light: #bba163;
$custom-dark: #000000;
JSON
{
  "hex": "#997c20",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 45.62,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.11089,
    "h": 90.3
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#997C20
secondary
#556FC0
accent
#68E83F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997C20

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

Preview Lab → · Contrast checker → · Palette generator →

#997C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva