#9F512F#9F512F

#9F512F is a mid, moderate orange. Relative luminance 0.135; OKLCH L 52.4% C 0.114 H 43.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9F512F
RGBrgb(159, 81, 47)
HSLhsl(18, 54%, 40%)
HSVhsv(18, 70%, 62%)
CMYKcmyk(0%, 49.1%, 70.4%, 37.6%)
CIE-LABlab(43.45, 29.56, 34.12)
CIE-LCHlch(43.45, 45.15, 49.10°)
OKLaboklab(52.36% 0.0831 0.078)
OKLCHoklch(52.36% 0.114 43.2)
XYZxyz(17.7552, 13.4631, 4.3524)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F512F #2F7D9F
analogous
#9F2F45 #9F512F #9F892F
triadic
#9F512F #2F9F51 #512F9F
tetradic
#9F512F #459F2F #2F7D9F #892F9F
square
#9F512F #459F2F #2F7D9F #892F9F
split-complementary
#9F512F #2F9F89 #2F459F
monochromatic
#412113 #703921 #9F512F #C86C44 #D69173

Accessibility & contrast

On white

5.69
#9F512F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F512F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F512F#FFFFFF#000000##FFFFFF
##9F512F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2B
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#AE4149
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f512f;
/* rgb */ color: rgb(159, 81, 47);
/* oklch */ color: oklch(52.4% 0.114 43.2);
Tailwind
colors: {
  custom: {
    50: '#c18369',
    500: '#9f512f',
    950: '#000000',
  },
}
SCSS
$custom: #9f512f;
$custom-light: #c18369;
$custom-dark: #000000;
JSON
{
  "hex": "#9f512f",
  "rgb": {
    "r": 159,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 18.214,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.11399,
    "h": 43.2
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#9F512F
secondary
#6DA5BD
accent
#B1DE4A
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130B06
muted
#827C7A

Preview Lab

Preview with #9F512F

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

Preview Lab → · Contrast checker → · Palette generator →

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