#997B31#997B31

#997B31 is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.7% C 0.099 H 86.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#997B31
RGBrgb(153, 123, 49)
HSLhsl(43, 51%, 40%)
HSVhsv(43, 68%, 60%)
CMYKcmyk(0%, 19.6%, 68%, 40%)
CIE-LABlab(53.13, 3.23, 43.52)
CIE-LCHlch(53.13, 43.64, 85.75°)
OKLaboklab(59.71% 0.0057 0.0987)
OKLCHoklch(59.71% 0.099 86.7)
XYZxyz(20.7753, 21.1613, 5.8954)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#997B31 #314F99
analogous
#994731 #997B31 #839931
triadic
#997B31 #31997B #7B3199
tetradic
#997B31 #319947 #314F99 #993183
square
#997B31 #319947 #314F99 #993183
split-complementary
#997B31 #318399 #473199
monochromatic
#3C3013 #6B5622 #997B31 #C39E44 #D2B672

Accessibility & contrast

On white

4.01
#997B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#997B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #997B31
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##997B31#FFFFFF#000000##000000
##997B311.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#A6716B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #997b31;
/* rgb */ color: rgb(153, 123, 49);
/* oklch */ color: oklch(59.7% 0.099 86.7);
Tailwind
colors: {
  custom: {
    50: '#baa06d',
    500: '#997b31',
    950: '#000000',
  },
}
SCSS
$custom: #997b31;
$custom-light: #baa06d;
$custom-dark: #000000;
JSON
{
  "hex": "#997b31",
  "rgb": {
    "r": 153,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 42.692,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.09885,
    "h": 86.7
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#997B31
secondary
#6C82BA
accent
#76DB4D
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120E07
muted
#817E7A

Preview Lab

Preview with #997B31

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

Preview Lab → · Contrast checker → · Palette generator →

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