#9D512B#9D512B

#9D512B is a mid, moderate orange. Relative luminance 0.132; OKLCH L 52.0% C 0.113 H 45.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9D512B
RGBrgb(157, 81, 43)
HSLhsl(20, 57%, 39%)
HSVhsv(20, 73%, 62%)
CMYKcmyk(0%, 48.4%, 72.6%, 38.4%)
CIE-LABlab(43.11, 28.51, 35.82)
CIE-LCHlch(43.11, 45.78, 51.49°)
OKLaboklab(52.02% 0.0794 0.081)
OKLCHoklch(52.02% 0.113 45.6)
XYZxyz(17.2847, 13.2294, 3.9283)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D512B #2B779D
analogous
#9D2B3E #9D512B #9D8A2B
triadic
#9D512B #2B9D51 #512B9D
tetradic
#9D512B #3E9D2B #2B779D #8A2B9D
square
#9D512B #3E9D2B #2B779D #8A2B9D
split-complementary
#9D512B #2B9D8A #2B3E9D
monochromatic
#3D1F11 #6D381E #9D512B #CA6B3C #D78F6C

Accessibility & contrast

On white

5.76
#9D512B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9D512B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D512B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D512B#FFFFFF#000000##FFFFFF
##9D512B1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B27
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#AC4249
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d512b;
/* rgb */ color: rgb(157, 81, 43);
/* oklch */ color: oklch(52.0% 0.113 45.6);
Tailwind
colors: {
  custom: {
    50: '#c08366',
    500: '#9d512b',
    950: '#000000',
  },
}
SCSS
$custom: #9d512b;
$custom-light: #c08366;
$custom-dark: #000000;
JSON
{
  "hex": "#9d512b",
  "rgb": {
    "r": 157,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 20,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.11341,
    "h": 45.6
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#9D512B
secondary
#66A0BD
accent
#ADE048
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130B06
muted
#827C7A

Preview Lab

Preview with #9D512B

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

Preview Lab → · Contrast checker → · Palette generator →

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