#9D6818#9D6818

#9D6818 is a mid, moderate orange. Relative luminance 0.171; OKLCH L 56.1% C 0.112 H 71.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9D6818
RGBrgb(157, 104, 24)
HSLhsl(36, 73%, 35%)
HSVhsv(36, 85%, 62%)
CMYKcmyk(0%, 33.8%, 84.7%, 38.4%)
CIE-LABlab(48.43, 14.74, 49.56)
CIE-LCHlch(48.43, 51.71, 73.44°)
OKLaboklab(56.08% 0.0357 0.1059)
OKLCHoklch(56.08% 0.112 71.4)
XYZxyz(19.0213, 17.1364, 3.1699)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6818 #184D9D
analogous
#9D2518 #9D6818 #8F9D18
triadic
#9D6818 #189D68 #68189D
tetradic
#9D6818 #189D25 #184D9D #9D188F
square
#9D6818 #189D25 #184D9D #9D188F
split-complementary
#9D6818 #188F9D #25189D
monochromatic
#332208 #684510 #9D6818 #D28B20 #E4A74C

Accessibility & contrast

On white

4.74
#9D6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9D6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D6818
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6818#FFFFFF#000000##FFFFFF
##9D68181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B05
Deuteranopia (green-blind)
#87781B
Tritanopia (blue-blind)
#AC5B59
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d6818;
/* rgb */ color: rgb(157, 104, 24);
/* oklch */ color: oklch(56.1% 0.112 71.4);
Tailwind
colors: {
  custom: {
    50: '#bf935d',
    500: '#9d6818',
    950: '#000000',
  },
}
SCSS
$custom: #9d6818;
$custom-light: #bf935d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6818",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 36.09,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.1118,
    "h": 71.4
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#9D6818
secondary
#4B7CC5
accent
#81F038
background
#FCF9F5
surface
#F8F1E9
border
#D1CBC5
text
#130D05
muted
#827E79

Preview Lab

Preview with #9D6818

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

Preview Lab → · Contrast checker → · Palette generator →

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