#974B1F#974B1F

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

Color values

HEX#974B1F
RGBrgb(151, 75, 31)
HSLhsl(22, 66%, 36%)
HSVhsv(22, 79%, 59%)
CMYKcmyk(0%, 50.3%, 79.5%, 40.8%)
CIE-LABlab(40.76, 28.70, 39.25)
CIE-LCHlch(40.76, 48.62, 53.83°)
OKLaboklab(50% 0.0785 0.0859)
OKLCHoklch(50% 0.116 47.6)
XYZxyz(15.5274, 11.7123, 2.7391)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#974B1F #1F6B97
analogous
#971F2F #974B1F #97871F
triadic
#974B1F #1F974B #4B1F97
tetradic
#974B1F #2F971F #1F6B97 #871F97
square
#974B1F #2F971F #1F6B97 #871F97
split-complementary
#974B1F #1F9787 #1F2F97
monochromatic
#31190A #643215 #974B1F #CA6429 #DC8654

Accessibility & contrast

On white

6.28
#974B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#974B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #974B1F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##974B1F#FFFFFF#000000##FFFFFF
##974B1F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#A63B42
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #974b1f;
/* rgb */ color: rgb(151, 75, 31);
/* oklch */ color: oklch(50.0% 0.116 47.6);
Tailwind
colors: {
  custom: {
    50: '#bc7e5e',
    500: '#974b1f',
    950: '#000000',
  },
}
SCSS
$custom: #974b1f;
$custom-light: #bc7e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#974b1f",
  "rgb": {
    "r": 151,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 22,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.1163,
    "h": 47.6
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#974B1F
secondary
#5297BF
accent
#ABE93F
background
#FCF7F5
surface
#F8EEE9
border
#D1C9C5
text
#130A04
muted
#827C79

Preview Lab

Preview with #974B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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