#9D7D1F#9D7D1F

#9D7D1F is a mid, moderate orange. Relative luminance 0.219; OKLCH L 60.4% C 0.113 H 88.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9D7D1F
RGBrgb(157, 125, 31)
HSLhsl(45, 67%, 37%)
HSVhsv(45, 80%, 62%)
CMYKcmyk(0%, 20.4%, 80.3%, 38.4%)
CIE-LABlab(53.96, 3.04, 51.99)
CIE-LCHlch(53.96, 52.08, 86.65°)
OKLaboklab(60.43% 0.0027 0.1129)
OKLCHoklch(60.43% 0.113 88.6)
XYZxyz(21.4869, 21.9357, 4.3984)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7D1F #1F3F9D
analogous
#9D3E1F #9D7D1F #7E9D1F
triadic
#9D7D1F #1F9D7D #7D1F9D
tetradic
#9D7D1F #1F9D3E #1F3F9D #9D1F7E
square
#9D7D1F #1F9D3E #1F3F9D #9D1F7E
split-complementary
#9D7D1F #1F7E9D #3E1F9D
monochromatic
#372C0B #6A5415 #9D7D1F #D0A629 #DEBC58

Accessibility & contrast

On white

3.90
#9D7D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9D7D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7D1F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7D1F#FFFFFF#000000##000000
##9D7D1F1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#AB716B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d7d1f;
/* rgb */ color: rgb(157, 125, 31);
/* oklch */ color: oklch(60.4% 0.113 88.6);
Tailwind
colors: {
  custom: {
    50: '#bea263',
    500: '#9d7d1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d7d1f;
$custom-light: #bea263;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7d1f",
  "rgb": {
    "r": 157,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 44.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.11295,
    "h": 88.6
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#9D7D1F
secondary
#5671C2
accent
#6AEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9D7D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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