#9F662A#9F662A

#9F662A is a mid, moderate orange. Relative luminance 0.170; OKLCH L 56.1% C 0.105 H 63.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9F662A
RGBrgb(159, 102, 42)
HSLhsl(31, 58%, 39%)
HSVhsv(31, 74%, 62%)
CMYKcmyk(0%, 35.8%, 73.6%, 37.6%)
CIE-LABlab(48.31, 17.52, 41.97)
CIE-LCHlch(48.31, 45.48, 67.34°)
OKLaboklab(56.09% 0.0461 0.0938)
OKLCHoklch(56.09% 0.105 63.8)
XYZxyz(19.4689, 17.0427, 4.4543)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F662A #2A639F
analogous
#9F2B2A #9F662A #9E9F2A
triadic
#9F662A #2A9F66 #662A9F
tetradic
#9F662A #2A9F2B #2A639F #9F2A9E
square
#9F662A #2A9F2B #2A639F #9F2A9E
split-complementary
#9F662A #2A9E9F #2B2A9F
monochromatic
#3E2810 #6F471D #9F662A #CB853B #D8A36B

Accessibility & contrast

On white

4.76
#9F662A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9F662A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F662A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F662A#FFFFFF#000000##FFFFFF
##9F662A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B23
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#AE5959
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f662a;
/* rgb */ color: rgb(159, 102, 42);
/* oklch */ color: oklch(56.1% 0.105 63.8);
Tailwind
colors: {
  custom: {
    50: '#c09167',
    500: '#9f662a',
    950: '#000000',
  },
}
SCSS
$custom: #9f662a;
$custom-light: #c09167;
$custom-dark: #000000;
JSON
{
  "hex": "#9f662a",
  "rgb": {
    "r": 159,
    "g": 102,
    "b": 42
  },
  "hsl": {
    "h": 30.769,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.10456,
    "h": 63.8
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#9F662A
secondary
#6691BF
accent
#92E146
background
#FCF8F6
surface
#F8F0EB
border
#D1CBC6
text
#130D06
muted
#827D7A

Preview Lab

Preview with #9F662A

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

Preview Lab → · Contrast checker → · Palette generator →

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