#9D7020#9D7020

#9D7020 is a mid, moderate orange. Relative luminance 0.189; OKLCH L 57.7% C 0.108 H 77.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9D7020
RGBrgb(157, 112, 32)
HSLhsl(38, 66%, 37%)
HSVhsv(38, 80%, 62%)
CMYKcmyk(0%, 28.7%, 79.6%, 38.4%)
CIE-LABlab(50.53, 10.45, 48.46)
CIE-LCHlch(50.53, 49.57, 77.83°)
OKLaboklab(57.73% 0.0242 0.1056)
OKLCHoklch(57.73% 0.108 77.1)
XYZxyz(19.9609, 18.8624, 3.9557)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7020 #204D9D
analogous
#9D3120 #9D7020 #8C9D20
triadic
#9D7020 #209D70 #70209D
tetradic
#9D7020 #209D31 #204D9D #9D208C
square
#9D7020 #209D31 #204D9D #9D208C
split-complementary
#9D7020 #208C9D #31209D
monochromatic
#37270B #6A4C16 #9D7020 #D0942A #DDAE5A

Accessibility & contrast

On white

4.40
#9D7020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9D7020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7020
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7020#FFFFFF#000000##000000
##9D70201.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817212
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#AB6460
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d7020;
/* rgb */ color: rgb(157, 112, 32);
/* oklch */ color: oklch(57.7% 0.108 77.1);
Tailwind
colors: {
  custom: {
    50: '#bf9862',
    500: '#9d7020',
    950: '#000000',
  },
}
SCSS
$custom: #9d7020;
$custom-light: #bf9862;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7020",
  "rgb": {
    "r": 157,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 38.4,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.10828,
    "h": 77.1
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#9D7020
secondary
#577EC1
accent
#7CE93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130D05
muted
#827E7A

Preview Lab

Preview with #9D7020

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

Preview Lab → · Contrast checker → · Palette generator →

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