#9D7018#9D7018

#9D7018 is a mid, moderate orange. Relative luminance 0.188; OKLCH L 57.7% C 0.112 H 78.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9D7018
RGBrgb(157, 112, 24)
HSLhsl(40, 73%, 35%)
HSVhsv(40, 85%, 62%)
CMYKcmyk(0%, 28.7%, 84.7%, 38.4%)
CIE-LABlab(50.48, 10.17, 51.33)
CIE-LCHlch(50.48, 52.33, 78.79°)
OKLaboklab(57.68% 0.0225 0.1098)
OKLCHoklch(57.68% 0.112 78.4)
XYZxyz(19.8651, 18.8240, 3.4511)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7018 #18459D
analogous
#9D2D18 #9D7018 #889D18
triadic
#9D7018 #189D70 #70189D
tetradic
#9D7018 #189D2D #18459D #9D1888
square
#9D7018 #189D2D #18459D #9D1888
split-complementary
#9D7018 #18889D #2D189D
monochromatic
#332408 #684A10 #9D7018 #D29620 #E4B04C

Accessibility & contrast

On white

4.41
#9D7018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9D7018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7018
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7018#FFFFFF#000000##000000
##9D70181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#8C7D1C
Tritanopia (blue-blind)
#AB6360
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d7018;
/* rgb */ color: rgb(157, 112, 24);
/* oklch */ color: oklch(57.7% 0.112 78.4);
Tailwind
colors: {
  custom: {
    50: '#bf985e',
    500: '#9d7018',
    950: '#000000',
  },
}
SCSS
$custom: #9d7018;
$custom-light: #bf985e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7018",
  "rgb": {
    "r": 157,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 39.699,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.1121,
    "h": 78.4
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#9D7018
secondary
#4B75C5
accent
#76F038
background
#FCF9F5
surface
#F8F2E9
border
#D1CCC5
text
#130D05
muted
#827E79

Preview Lab

Preview with #9D7018

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

Preview Lab → · Contrast checker → · Palette generator →

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