#97731F#97731F

#97731F is a mid, moderate orange. Relative luminance 0.189; OKLCH L 57.6% C 0.107 H 83.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#97731F
RGBrgb(151, 115, 31)
HSLhsl(42, 66%, 36%)
HSVhsv(42, 79%, 59%)
CMYKcmyk(0%, 23.8%, 79.5%, 40.8%)
CIE-LABlab(50.62, 5.93, 48.69)
CIE-LCHlch(50.62, 49.05, 83.05°)
OKLaboklab(57.65% 0.0113 0.1061)
OKLCHoklch(57.65% 0.107 83.9)
XYZxyz(19.1418, 18.9411, 3.9439)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97731F #1F4397
analogous
#97371F #97731F #7F971F
triadic
#97731F #1F9773 #731F97
tetradic
#97731F #1F9737 #1F4397 #971F7F
square
#97731F #1F9737 #1F4397 #971F7F
split-complementary
#97731F #1F7F97 #371F97
monochromatic
#31260A #644C15 #97731F #CA9A29 #DCB354

Accessibility & contrast

On white

4.39
#97731F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#97731F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97731F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97731F#FFFFFF#000000##000000
##97731F1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#A46863
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #97731f;
/* rgb */ color: rgb(151, 115, 31);
/* oklch */ color: oklch(57.6% 0.107 83.9);
Tailwind
colors: {
  custom: {
    50: '#ba9b62',
    500: '#97731f',
    950: '#000000',
  },
}
SCSS
$custom: #97731f;
$custom-light: #ba9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#97731f",
  "rgb": {
    "r": 151,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 42,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.10674,
    "h": 83.9
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#97731F
secondary
#5273BF
accent
#72E93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #97731F

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

Preview Lab → · Contrast checker → · Palette generator →

#97731F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva