#976F21#976F21

#976F21 is a mid, moderate orange. Relative luminance 0.181; OKLCH L 56.8% C 0.104 H 79.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#976F21
RGBrgb(151, 111, 33)
HSLhsl(40, 64%, 36%)
HSVhsv(40, 78%, 59%)
CMYKcmyk(0%, 26.5%, 78.1%, 40.8%)
CIE-LABlab(49.57, 8.30, 46.91)
CIE-LCHlch(49.57, 47.64, 79.96°)
OKLaboklab(56.83% 0.0184 0.1028)
OKLCHoklch(56.83% 0.104 79.8)
XYZxyz(18.7227, 18.0595, 3.9383)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976F21 #214997
analogous
#973421 #976F21 #849721
triadic
#976F21 #21976F #6F2197
tetradic
#976F21 #219734 #214997 #972184
square
#976F21 #219734 #214997 #972184
split-complementary
#976F21 #218497 #342197
monochromatic
#33250B #654A16 #976F21 #C9942C #DAAE58

Accessibility & contrast

On white

4.55
#976F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#976F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976F21
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976F21#FFFFFF#000000##000000
##976F211.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#A46360
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #976f21;
/* rgb */ color: rgb(151, 111, 33);
/* oklch */ color: oklch(56.8% 0.104 79.8);
Tailwind
colors: {
  custom: {
    50: '#ba9862',
    500: '#976f21',
    950: '#000000',
  },
}
SCSS
$custom: #976f21;
$custom-light: #ba9862;
$custom-dark: #000000;
JSON
{
  "hex": "#976f21",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 33
  },
  "hsl": {
    "h": 39.661,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.10443,
    "h": 79.8
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#976F21
secondary
#5579BE
accent
#79E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120D05
muted
#817E7A

Preview Lab

Preview with #976F21

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

Preview Lab → · Contrast checker → · Palette generator →

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