#9D7822#9D7822

#9D7822 is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.109 H 84.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D7822
RGBrgb(157, 120, 34)
HSLhsl(42, 64%, 37%)
HSVhsv(42, 78%, 62%)
CMYKcmyk(0%, 23.6%, 78.3%, 38.4%)
CIE-LABlab(52.64, 5.98, 49.66)
CIE-LCHlch(52.64, 50.02, 83.13°)
OKLaboklab(59.39% 0.0115 0.1086)
OKLCHoklch(59.39% 0.109 84)
XYZxyz(20.9112, 20.7181, 4.4107)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7822 #22479D
analogous
#9D3A22 #9D7822 #859D22
triadic
#9D7822 #229D78 #78229D
tetradic
#9D7822 #229D3A #22479D #9D2285
square
#9D7822 #229D3A #22479D #9D2285
split-complementary
#9D7822 #22859D #3A229D
monochromatic
#382B0C #6B5217 #9D7822 #CF9E2D #DCB65D

Accessibility & contrast

On white

4.08
#9D7822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9D7822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7822
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7822#FFFFFF#000000##000000
##9D78221.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#AB6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d7822;
/* rgb */ color: rgb(157, 120, 34);
/* oklch */ color: oklch(59.4% 0.109 84.0);
Tailwind
colors: {
  custom: {
    50: '#be9e64',
    500: '#9d7822',
    950: '#000000',
  },
}
SCSS
$custom: #9d7822;
$custom-light: #be9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7822",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 41.951,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59393,
    "c": 0.10919,
    "h": 84
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#9D7822
secondary
#5A79C1
accent
#73E740
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7822

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

Preview Lab → · Contrast checker → · Palette generator →

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