#974A1F#974A1F

#974A1F is a mid, moderate orange. Relative luminance 0.116; OKLCH L 49.8% C 0.117 H 46.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#974A1F
RGBrgb(151, 74, 31)
HSLhsl(22, 66%, 36%)
HSVhsv(22, 79%, 59%)
CMYKcmyk(0%, 51%, 79.5%, 40.8%)
CIE-LABlab(40.54, 29.24, 39.04)
CIE-LCHlch(40.54, 48.77, 53.16°)
OKLaboklab(49.83% 0.0801 0.0854)
OKLCHoklch(49.83% 0.117 46.8)
XYZxyz(15.4601, 11.5777, 2.7166)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974A1F #1F6C97
analogous
#971F30 #974A1F #97861F
triadic
#974A1F #1F974A #4A1F97
tetradic
#974A1F #30971F #1F6C97 #861F97
square
#974A1F #30971F #1F6C97 #861F97
split-complementary
#974A1F #1F9786 #1F3097
monochromatic
#31180A #643115 #974A1F #CA6329 #DC8554

Accessibility & contrast

On white

6.33
#974A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#974A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974A1F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974A1F#FFFFFF#000000##FFFFFF
##974A1F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#A63941
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #974a1f;
/* rgb */ color: rgb(151, 74, 31);
/* oklch */ color: oklch(49.8% 0.117 46.8);
Tailwind
colors: {
  custom: {
    50: '#bc7e5e',
    500: '#974a1f',
    950: '#000000',
  },
}
SCSS
$custom: #974a1f;
$custom-light: #bc7e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#974a1f",
  "rgb": {
    "r": 151,
    "g": 74,
    "b": 31
  },
  "hsl": {
    "h": 21.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.11707,
    "h": 46.8
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#974A1F
secondary
#5298BF
accent
#ACE93F
background
#FCF7F5
surface
#F8EEE9
border
#D1C9C5
text
#130A04
muted
#827C79

Preview Lab

Preview with #974A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#974A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva