#976B21#976B21

#976B21 is a mid, moderate orange. Relative luminance 0.172; OKLCH L 56.0% C 0.104 H 76.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#976B21
RGBrgb(151, 107, 33)
HSLhsl(38, 64%, 36%)
HSVhsv(38, 78%, 59%)
CMYKcmyk(0%, 29.1%, 78.1%, 40.8%)
CIE-LABlab(48.52, 10.60, 45.90)
CIE-LCHlch(48.52, 47.11, 77.00°)
OKLaboklab(56.01% 0.0251 0.1006)
OKLCHoklch(56.01% 0.104 76)
XYZxyz(18.2960, 17.2060, 3.7960)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976B21 #214D97
analogous
#973021 #976B21 #889721
triadic
#976B21 #21976B #6B2197
tetradic
#976B21 #219730 #214D97 #972188
square
#976B21 #219730 #214D97 #972188
split-complementary
#976B21 #218897 #302197
monochromatic
#33240B #654716 #976B21 #C98F2C #DAAA58

Accessibility & contrast

On white

4.73
#976B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#976B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #976B21
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976B21#FFFFFF#000000##FFFFFF
##976B211.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#A55F5C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #976b21;
/* rgb */ color: rgb(151, 107, 33);
/* oklch */ color: oklch(56.0% 0.104 76.0);
Tailwind
colors: {
  custom: {
    50: '#ba9562',
    500: '#976b21',
    950: '#000000',
  },
}
SCSS
$custom: #976b21;
$custom-light: #ba9562;
$custom-dark: #000000;
JSON
{
  "hex": "#976b21",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 33
  },
  "hsl": {
    "h": 37.627,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.10372,
    "h": 76
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#976B21
secondary
#557DBE
accent
#7FE741
background
#FCF9F6
surface
#F8F1EB
border
#D1CBC6
text
#120D05
muted
#817E7A

Preview Lab

Preview with #976B21

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

Preview Lab → · Contrast checker → · Palette generator →

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