#9C7822#9C7822

#9C7822 is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.3% C 0.109 H 84.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C7822
RGBrgb(156, 120, 34)
HSLhsl(42, 64%, 37%)
HSVhsv(42, 78%, 61%)
CMYKcmyk(0%, 23.1%, 78.2%, 38.8%)
CIE-LABlab(52.53, 5.52, 49.51)
CIE-LCHlch(52.53, 49.82, 83.63°)
OKLaboklab(59.28% 0.0102 0.1083)
OKLCHoklch(59.28% 0.109 84.6)
XYZxyz(20.7168, 20.6178, 4.4016)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7822 #22469C
analogous
#9C3B22 #9C7822 #839C22
triadic
#9C7822 #229C78 #78229C
tetradic
#9C7822 #229C3B #22469C #9C2283
square
#9C7822 #229C3B #22469C #9C2283
split-complementary
#9C7822 #22839C #3B229C
monochromatic
#382B0C #6A5117 #9C7822 #CE9F2D #DCB65D

Accessibility & contrast

On white

4.10
#9C7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9C7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7822
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7822#FFFFFF#000000##000000
##9C78221.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#AA6C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c7822;
/* rgb */ color: rgb(156, 120, 34);
/* oklch */ color: oklch(59.3% 0.109 84.6);
Tailwind
colors: {
  custom: {
    50: '#bd9e64',
    500: '#9c7822',
    950: '#000000',
  },
}
SCSS
$custom: #9c7822;
$custom-light: #bd9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7822",
  "rgb": {
    "r": 156,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 42.295,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.1088,
    "h": 84.6
  },
  "luminance": 0.20616
}

Semantic roles & 50–950 ramp

primary
#9C7822
secondary
#5A78C0
accent
#72E741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9C7822

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

Preview Lab → · Contrast checker → · Palette generator →

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