#997B22#997B22

#997B22 is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.6% C 0.109 H 89.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#997B22
RGBrgb(153, 123, 34)
HSLhsl(45, 64%, 37%)
HSVhsv(45, 78%, 60%)
CMYKcmyk(0%, 19.6%, 77.8%, 40%)
CIE-LABlab(53.01, 2.44, 49.85)
CIE-LCHlch(53.01, 49.91, 87.19°)
OKLaboklab(59.59% 0.0016 0.1092)
OKLCHoklch(59.59% 0.109 89.2)
XYZxyz(20.5098, 21.0551, 4.4968)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997B22 #224099
analogous
#994022 #997B22 #7C9922
triadic
#997B22 #22997B #7B2299
tetradic
#997B22 #229940 #224099 #99227C
square
#997B22 #229940 #224099 #99227C
split-complementary
#997B22 #227C99 #402299
monochromatic
#352A0C #675317 #997B22 #CBA32D #DBBA5B

Accessibility & contrast

On white

4.03
#997B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#997B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997B22
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997B22#FFFFFF#000000##000000
##997B221.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#A6706A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997b22;
/* rgb */ color: rgb(153, 123, 34);
/* oklch */ color: oklch(59.6% 0.109 89.2);
Tailwind
colors: {
  custom: {
    50: '#bba064',
    500: '#997b22',
    950: '#000000',
  },
}
SCSS
$custom: #997b22;
$custom-light: #bba064;
$custom-dark: #000000;
JSON
{
  "hex": "#997b22",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 44.874,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.10921,
    "h": 89.2
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#997B22
secondary
#5872BF
accent
#6BE741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #997B22

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

Preview Lab → · Contrast checker → · Palette generator →

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