#97781F#97781F

#97781F is a mid, moderate orange. Relative luminance 0.201; OKLCH L 58.7% C 0.109 H 88.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#97781F
RGBrgb(151, 120, 31)
HSLhsl(45, 66%, 36%)
HSVhsv(45, 79%, 59%)
CMYKcmyk(0%, 20.5%, 79.5%, 40.8%)
CIE-LABlab(51.96, 3.09, 49.93)
CIE-LCHlch(51.96, 50.03, 86.46°)
OKLaboklab(58.71% 0.0032 0.1088)
OKLCHoklch(58.71% 0.109 88.3)
XYZxyz(19.7275, 20.1125, 4.1391)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97781F #1F3E97
analogous
#973C1F #97781F #7A971F
triadic
#97781F #1F9778 #781F97
tetradic
#97781F #1F973C #1F3E97 #971F7A
square
#97781F #1F973C #1F3E97 #971F7A
split-complementary
#97781F #1F7A97 #3C1F97
monochromatic
#31270A #645015 #97781F #CAA029 #DCB954

Accessibility & contrast

On white

4.18
#97781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#97781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97781F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97781F#FFFFFF#000000##000000
##97781F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#A46D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #97781f;
/* rgb */ color: rgb(151, 120, 31);
/* oklch */ color: oklch(58.7% 0.109 88.3);
Tailwind
colors: {
  custom: {
    50: '#ba9e62',
    500: '#97781f',
    950: '#000000',
  },
}
SCSS
$custom: #97781f;
$custom-light: #ba9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#97781f",
  "rgb": {
    "r": 151,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 44.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.10886,
    "h": 88.3
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#97781F
secondary
#526FBF
accent
#6BE93F
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #97781F

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

Preview Lab → · Contrast checker → · Palette generator →

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