#976A1F#976A1F

#976A1F is a mid, moderate orange. Relative luminance 0.170; OKLCH L 55.8% C 0.105 H 75.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#976A1F
RGBrgb(151, 106, 31)
HSLhsl(38, 66%, 36%)
HSVhsv(38, 79%, 59%)
CMYKcmyk(0%, 29.8%, 79.5%, 40.8%)
CIE-LABlab(48.24, 11.09, 46.47)
CIE-LCHlch(48.24, 47.77, 76.58°)
OKLaboklab(55.79% 0.0263 0.1014)
OKLCHoklch(55.79% 0.105 75.5)
XYZxyz(18.1652, 16.9878, 3.6183)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976A1F #1F4C97
analogous
#972E1F #976A1F #88971F
triadic
#976A1F #1F976A #6A1F97
tetradic
#976A1F #1F972E #1F4C97 #971F88
square
#976A1F #1F972E #1F4C97 #971F88
split-complementary
#976A1F #1F8897 #2E1F97
monochromatic
#31230A #644615 #976A1F #CA8E29 #DCA954

Accessibility & contrast

On white

4.78
#976A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#976A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #976A1F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976A1F#FFFFFF#000000##FFFFFF
##976A1F1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C13
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#A55E5B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #976a1f;
/* rgb */ color: rgb(151, 106, 31);
/* oklch */ color: oklch(55.8% 0.105 75.5);
Tailwind
colors: {
  custom: {
    50: '#ba9461',
    500: '#976a1f',
    950: '#000000',
  },
}
SCSS
$custom: #976a1f;
$custom-light: #ba9461;
$custom-dark: #000000;
JSON
{
  "hex": "#976a1f",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 37.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.10473,
    "h": 75.5
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#976A1F
secondary
#527BBF
accent
#7FE93F
background
#FCF9F5
surface
#F8F1EA
border
#D1CBC6
text
#120D05
muted
#817E79

Preview Lab

Preview with #976A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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