#97731B#97731B

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

Color values

HEX#97731B
RGBrgb(151, 115, 27)
HSLhsl(43, 70%, 35%)
HSVhsv(43, 82%, 59%)
CMYKcmyk(0%, 23.8%, 82.1%, 40.8%)
CIE-LABlab(50.59, 5.78, 50.14)
CIE-LCHlch(50.59, 50.47, 83.42°)
OKLaboklab(57.62% 0.0105 0.1083)
OKLCHoklch(57.62% 0.109 84.5)
XYZxyz(19.0923, 18.9213, 3.6833)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97731B #1B3F97
analogous
#97351B #97731B #7D971B
triadic
#97731B #1B9773 #731B97
tetradic
#97731B #1B9735 #1B3F97 #971B7D
square
#97731B #1B9735 #1B3F97 #971B7D
split-complementary
#97731B #1B7D97 #351B97
monochromatic
#2F2408 #634B12 #97731B #CB9B24 #DFB54D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97731B#FFFFFF#000000##000000
##97731B1.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)
#837307
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#A46762
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #97731b;
/* rgb */ color: rgb(151, 115, 27);
/* oklch */ color: oklch(57.6% 0.109 84.5);
Tailwind
colors: {
  custom: {
    50: '#ba9b60',
    500: '#97731b',
    950: '#000000',
  },
}
SCSS
$custom: #97731b;
$custom-light: #ba9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#97731b",
  "rgb": {
    "r": 151,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 42.581,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.10884,
    "h": 84.5
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

primary
#97731B
secondary
#4C6EC1
accent
#6FEC3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #97731B

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

Preview Lab → · Contrast checker → · Palette generator →

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