#9D512A#9D512A

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

Color values

HEX#9D512A
RGBrgb(157, 81, 42)
HSLhsl(20, 58%, 39%)
HSVhsv(20, 73%, 62%)
CMYKcmyk(0%, 48.4%, 73.2%, 38.4%)
CIE-LABlab(43.10, 28.45, 36.34)
CIE-LCHlch(43.10, 46.16, 51.94°)
OKLaboklab(52.01% 0.0791 0.0819)
OKLCHoklch(52.01% 0.114 46)
XYZxyz(17.2665, 13.2221, 3.8329)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D512A #2A769D
analogous
#9D2A3D #9D512A #9D8B2A
triadic
#9D512A #2A9D51 #512A9D
tetradic
#9D512A #3D9D2A #2A769D #8B2A9D
square
#9D512A #3D9D2A #2A769D #8B2A9D
split-complementary
#9D512A #2A9D8B #2A3D9D
monochromatic
#3C1F10 #6D381D #9D512A #CA6B3A #D78F6A

Accessibility & contrast

On white

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

On black

3.64
#9D512A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D512A#FFFFFF#000000##FFFFFF
##9D512A1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B26
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#AC4148
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d512a;
/* rgb */ color: rgb(157, 81, 42);
/* oklch */ color: oklch(52.0% 0.114 46.0);
Tailwind
colors: {
  custom: {
    50: '#c08365',
    500: '#9d512a',
    950: '#000000',
  },
}
SCSS
$custom: #9d512a;
$custom-light: #c08365;
$custom-dark: #000000;
JSON
{
  "hex": "#9d512a",
  "rgb": {
    "r": 157,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 20.348,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.11383,
    "h": 46
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#9D512A
secondary
#65A0BE
accent
#ADE147
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130B06
muted
#827C7A

Preview Lab

Preview with #9D512A

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

Preview Lab → · Contrast checker → · Palette generator →

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