#9D5F12#9D5F12

#9D5F12 is a mid, moderate orange. Relative luminance 0.154; OKLCH L 54.3% C 0.116 H 64.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9D5F12
RGBrgb(157, 95, 18)
HSLhsl(33, 79%, 34%)
HSVhsv(33, 89%, 62%)
CMYKcmyk(0%, 39.5%, 88.5%, 38.4%)
CIE-LABlab(46.17, 19.71, 49.67)
CIE-LCHlch(46.17, 53.44, 68.36°)
OKLaboklab(54.32% 0.0496 0.1046)
OKLCHoklch(54.32% 0.116 64.6)
XYZxyz(18.1076, 15.3981, 2.5907)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5F12 #12509D
analogous
#9D1912 #9D5F12 #969D12
triadic
#9D5F12 #129D5F #5F129D
tetradic
#9D5F12 #129D19 #12509D #9D1296
square
#9D5F12 #129D19 #12509D #9D1296
split-complementary
#9D5F12 #12969D #19129D
monochromatic
#2F1D05 #663E0C #9D5F12 #D48018 #E99E40

Accessibility & contrast

On white

5.15
#9D5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9D5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D5F12
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5F12#FFFFFF#000000##FFFFFF
##9D5F121.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#817314
Tritanopia (blue-blind)
#AC5051
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d5f12;
/* rgb */ color: rgb(157, 95, 18);
/* oklch */ color: oklch(54.3% 0.116 64.6);
Tailwind
colors: {
  custom: {
    50: '#c08c59',
    500: '#9d5f12',
    950: '#000000',
  },
}
SCSS
$custom: #9d5f12;
$custom-light: #c08c59;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5f12",
  "rgb": {
    "r": 157,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 33.237,
    "s": 79.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.11573,
    "h": 64.6
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#9D5F12
secondary
#427EC9
accent
#89F632
background
#FCF8F5
surface
#F8F0E9
border
#D1CBC5
text
#130C04
muted
#827D79

Preview Lab

Preview with #9D5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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