#9F512B#9F512B

#9F512B is a mid, moderate orange. Relative luminance 0.134; OKLCH L 52.3% C 0.116 H 45.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9F512B
RGBrgb(159, 81, 43)
HSLhsl(20, 57%, 40%)
HSVhsv(20, 73%, 62%)
CMYKcmyk(0%, 49.1%, 73%, 37.6%)
CIE-LABlab(43.41, 29.34, 36.24)
CIE-LCHlch(43.41, 46.63, 51.00°)
OKLaboklab(52.31% 0.0818 0.0818)
OKLCHoklch(52.31% 0.116 45)
XYZxyz(17.6782, 13.4323, 3.9468)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F512B #2B799F
analogous
#9F2B3F #9F512B #9F8B2B
triadic
#9F512B #2B9F51 #512B9F
tetradic
#9F512B #3F9F2B #2B799F #8B2B9F
square
#9F512B #3F9F2B #2B799F #8B2B9F
split-complementary
#9F512B #2B9F8B #2B3F9F
monochromatic
#3F2011 #6F381E #9F512B #CA6B3D #D7906D

Accessibility & contrast

On white

5.70
#9F512B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F512B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F512B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F512B#FFFFFF#000000##FFFFFF
##9F512B1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C27
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#AE4149
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f512b;
/* rgb */ color: rgb(159, 81, 43);
/* oklch */ color: oklch(52.3% 0.116 45.0);
Tailwind
colors: {
  custom: {
    50: '#c18366',
    500: '#9f512b',
    950: '#000000',
  },
}
SCSS
$custom: #9f512b;
$custom-light: #c18366;
$custom-dark: #000000;
JSON
{
  "hex": "#9f512b",
  "rgb": {
    "r": 159,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 19.655,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.11563,
    "h": 45
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#9F512B
secondary
#67A2BE
accent
#AEE147
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130B06
muted
#827C7A

Preview Lab

Preview with #9F512B

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

Preview Lab → · Contrast checker → · Palette generator →

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