#976A1B#976A1B

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

Color values

HEX#976A1B
RGBrgb(151, 106, 27)
HSLhsl(38, 70%, 35%)
HSVhsv(38, 82%, 59%)
CMYKcmyk(0%, 29.8%, 82.1%, 40.8%)
CIE-LABlab(48.22, 10.94, 48.01)
CIE-LCHlch(48.22, 49.24, 77.17°)
OKLaboklab(55.76% 0.0253 0.1037)
OKLCHoklch(55.76% 0.107 76.3)
XYZxyz(18.1157, 16.9680, 3.3578)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976A1B #1B4897
analogous
#972C1B #976A1B #86971B
triadic
#976A1B #1B976A #6A1B97
tetradic
#976A1B #1B972C #1B4897 #971B86
square
#976A1B #1B972C #1B4897 #971B86
split-complementary
#976A1B #1B8697 #2C1B97
monochromatic
#2F2108 #634612 #976A1B #CB8E24 #DFAA4D

Accessibility & contrast

On white

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

On black

4.39
#976A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##976A1B#FFFFFF#000000##FFFFFF
##976A1B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0B
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#A55E5B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #976a1b;
/* rgb */ color: rgb(151, 106, 27);
/* oklch */ color: oklch(55.8% 0.107 76.3);
Tailwind
colors: {
  custom: {
    50: '#ba945f',
    500: '#976a1b',
    950: '#000000',
  },
}
SCSS
$custom: #976a1b;
$custom-light: #ba945f;
$custom-dark: #000000;
JSON
{
  "hex": "#976a1b",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 38.226,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55763,
    "c": 0.10677,
    "h": 76.3
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#976A1B
secondary
#4C77C1
accent
#7CEC3B
background
#FCF9F5
surface
#F8F1E9
border
#D1CBC5
text
#130D05
muted
#827E79

Preview Lab

Preview with #976A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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