#9D671F#9D671F

#9D671F is a mid, moderate orange. Relative luminance 0.170; OKLCH L 55.9% C 0.109 H 69.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9D671F
RGBrgb(157, 103, 31)
HSLhsl(34, 67%, 37%)
HSVhsv(34, 80%, 62%)
CMYKcmyk(0%, 34.4%, 80.3%, 38.4%)
CIE-LABlab(48.22, 15.56, 46.71)
CIE-LCHlch(48.22, 49.23, 71.58°)
OKLaboklab(55.93% 0.0389 0.1015)
OKLCHoklch(55.93% 0.109 69)
XYZxyz(19.0037, 16.9693, 3.5706)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D671F #1F559D
analogous
#9D281F #9D671F #949D1F
triadic
#9D671F #1F9D67 #671F9D
tetradic
#9D671F #1F9D28 #1F559D #9D1F94
square
#9D671F #1F9D28 #1F559D #9D1F94
split-complementary
#9D671F #1F949D #281F9D
monochromatic
#37240B #6A4515 #9D671F #D08929 #DEA558

Accessibility & contrast

On white

4.78
#9D671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9D671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D671F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D671F#FFFFFF#000000##FFFFFF
##9D671F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#AC5A59
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d671f;
/* rgb */ color: rgb(157, 103, 31);
/* oklch */ color: oklch(55.9% 0.109 69.0);
Tailwind
colors: {
  custom: {
    50: '#bf9260',
    500: '#9d671f',
    950: '#000000',
  },
}
SCSS
$custom: #9d671f;
$custom-light: #bf9260;
$custom-dark: #000000;
JSON
{
  "hex": "#9d671f",
  "rgb": {
    "r": 157,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 34.286,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.10874,
    "h": 69
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#9D671F
secondary
#5684C2
accent
#88EA3E
background
#FCF8F5
surface
#F8F0EA
border
#D1CBC6
text
#130D05
muted
#827D79

Preview Lab

Preview with #9D671F

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

Preview Lab → · Contrast checker → · Palette generator →

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