#997D22#997D22

#997D22 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 60.0% C 0.110 H 90.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#997D22
RGBrgb(153, 125, 34)
HSLhsl(46, 64%, 37%)
HSVhsv(46, 78%, 60%)
CMYKcmyk(0%, 18.3%, 77.8%, 40%)
CIE-LABlab(53.55, 1.32, 50.36)
CIE-LCHlch(53.55, 50.38, 88.50°)
OKLaboklab(60.01% -0.0017 0.1103)
OKLCHoklch(60.01% 0.11 90.9)
XYZxyz(20.7604, 21.5563, 4.5804)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997D22 #223E99
analogous
#994222 #997D22 #7A9922
triadic
#997D22 #22997D #7D2299
tetradic
#997D22 #229942 #223E99 #99227A
square
#997D22 #229942 #223E99 #99227A
split-complementary
#997D22 #227A99 #422299
monochromatic
#352B0C #675417 #997D22 #CBA62D #DBBC5B

Accessibility & contrast

On white

3.95
#997D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#997D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997D22
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997D22#FFFFFF#000000##000000
##997D221.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#938327
Tritanopia (blue-blind)
#A6726B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #997d22;
/* rgb */ color: rgb(153, 125, 34);
/* oklch */ color: oklch(60.0% 0.110 90.9);
Tailwind
colors: {
  custom: {
    50: '#bba264',
    500: '#997d22',
    950: '#000000',
  },
}
SCSS
$custom: #997d22;
$custom-light: #bba264;
$custom-dark: #000000;
JSON
{
  "hex": "#997d22",
  "rgb": {
    "r": 153,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 45.882,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.1103,
    "h": 90.9
  },
  "luminance": 0.21555
}

Semantic roles & 50–950 ramp

primary
#997D22
secondary
#5870BF
accent
#68E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #997D22

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

Preview Lab → · Contrast checker → · Palette generator →

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