#97731A#97731A

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

Color values

HEX#97731A
RGBrgb(151, 115, 26)
HSLhsl(43, 71%, 35%)
HSVhsv(43, 83%, 59%)
CMYKcmyk(0%, 23.8%, 82.8%, 40.8%)
CIE-LABlab(50.59, 5.74, 50.48)
CIE-LCHlch(50.59, 50.81, 83.51°)
OKLaboklab(57.62% 0.0103 0.1089)
OKLCHoklch(57.62% 0.109 84.6)
XYZxyz(19.0810, 18.9168, 3.6234)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97731A #1A3E97
analogous
#97351A #97731A #7D971A
triadic
#97731A #1A9773 #731A97
tetradic
#97731A #1A9735 #1A3E97 #971A7D
square
#97731A #1A9735 #1A3E97 #971A7D
split-complementary
#97731A #1A7D97 #351A97
monochromatic
#2F2308 #634B11 #97731A #CB9B23 #E0B54B

Accessibility & contrast

On white

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

On black

4.78
#97731A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97731A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97731A#FFFFFF#000000##000000
##97731A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837305
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#A46762
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #97731a;
/* rgb */ color: rgb(151, 115, 26);
/* oklch */ color: oklch(57.6% 0.109 84.6);
Tailwind
colors: {
  custom: {
    50: '#ba9b5f',
    500: '#97731a',
    950: '#000000',
  },
}
SCSS
$custom: #97731a;
$custom-light: #ba9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#97731a",
  "rgb": {
    "r": 151,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 42.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.10933,
    "h": 84.6
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#97731A
secondary
#4B6DC2
accent
#6EED3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #97731A

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

Preview Lab → · Contrast checker → · Palette generator →

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