#9D6821#9D6821

#9D6821 is a mid, moderate orange. Relative luminance 0.172; OKLCH L 56.1% C 0.108 H 69.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9D6821
RGBrgb(157, 104, 33)
HSLhsl(34, 65%, 37%)
HSVhsv(34, 79%, 62%)
CMYKcmyk(0%, 33.8%, 79%, 38.4%)
CIE-LABlab(48.49, 15.06, 46.13)
CIE-LCHlch(48.49, 48.53, 71.91°)
OKLaboklab(56.15% 0.0377 0.1008)
OKLCHoklch(56.15% 0.108 69.5)
XYZxyz(19.1309, 17.1803, 3.7471)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6821 #21569D
analogous
#9D2A21 #9D6821 #949D21
triadic
#9D6821 #219D68 #68219D
tetradic
#9D6821 #219D2A #21569D #9D2194
square
#9D6821 #219D2A #21569D #9D2194
split-complementary
#9D6821 #21949D #2A219D
monochromatic
#38250C #6A4716 #9D6821 #D0892C #DDA65C

Accessibility & contrast

On white

4.73
#9D6821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9D6821 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D6821
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6821#FFFFFF#000000##FFFFFF
##9D68211.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)
#7A6C16
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#AC5B5A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d6821;
/* rgb */ color: rgb(157, 104, 33);
/* oklch */ color: oklch(56.1% 0.108 69.5);
Tailwind
colors: {
  custom: {
    50: '#bf9362',
    500: '#9d6821',
    950: '#000000',
  },
}
SCSS
$custom: #9d6821;
$custom-light: #bf9362;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6821",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 33
  },
  "hsl": {
    "h": 34.355,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.10762,
    "h": 69.5
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#9D6821
secondary
#5985C1
accent
#88E840
background
#FCF9F6
surface
#F8F1EB
border
#D1CBC6
text
#130D05
muted
#827E7A

Preview Lab

Preview with #9D6821

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

Preview Lab → · Contrast checker → · Palette generator →

#9D6821 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva