#997C22#997C22

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

Color values

HEX#997C22
RGBrgb(153, 124, 34)
HSLhsl(45, 64%, 37%)
HSVhsv(45, 78%, 60%)
CMYKcmyk(0%, 19%, 77.8%, 40%)
CIE-LABlab(53.28, 1.88, 50.11)
CIE-LCHlch(53.28, 50.14, 87.85°)
OKLaboklab(59.8% -0.0001 0.1097)
OKLCHoklch(59.8% 0.11 90)
XYZxyz(20.6345, 21.3044, 4.5384)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997C22 #223F99
analogous
#994122 #997C22 #7B9922
triadic
#997C22 #22997C #7C2299
tetradic
#997C22 #229941 #223F99 #99227B
square
#997C22 #229941 #223F99 #99227B
split-complementary
#997C22 #227B99 #412299
monochromatic
#352B0C #675317 #997C22 #CBA52D #DBBB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##997C22#FFFFFF#000000##000000
##997C221.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)
#8B7B12
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997c22;
/* rgb */ color: rgb(153, 124, 34);
/* oklch */ color: oklch(59.8% 0.110 90.0);
Tailwind
colors: {
  custom: {
    50: '#bba164',
    500: '#997c22',
    950: '#000000',
  },
}
SCSS
$custom: #997c22;
$custom-light: #bba164;
$custom-dark: #000000;
JSON
{
  "hex": "#997c22",
  "rgb": {
    "r": 153,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 45.378,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59799,
    "c": 0.10974,
    "h": 90
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#997C22
secondary
#5871BF
accent
#69E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997C22

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

Preview Lab → · Contrast checker → · Palette generator →

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