#9D7C1F#9D7C1F

#9D7C1F is a mid, moderate orange. Relative luminance 0.217; OKLCH L 60.2% C 0.112 H 87.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D7C1F
RGBrgb(157, 124, 31)
HSLhsl(44, 67%, 37%)
HSVhsv(44, 80%, 62%)
CMYKcmyk(0%, 21%, 80.3%, 38.4%)
CIE-LABlab(53.69, 3.61, 51.75)
CIE-LCHlch(53.69, 51.88, 86.01°)
OKLaboklab(60.21% 0.0043 0.1124)
OKLCHoklch(60.21% 0.112 87.8)
XYZxyz(21.3609, 21.6838, 4.3564)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7C1F #1F409D
analogous
#9D3D1F #9D7C1F #7F9D1F
triadic
#9D7C1F #1F9D7C #7C1F9D
tetradic
#9D7C1F #1F9D3D #1F409D #9D1F7F
square
#9D7C1F #1F9D3D #1F409D #9D1F7F
split-complementary
#9D7C1F #1F7F9D #3D1F9D
monochromatic
#372B0B #6A5415 #9D7C1F #D0A429 #DEBB58

Accessibility & contrast

On white

3.94
#9D7C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9D7C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7C1F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7C1F#FFFFFF#000000##000000
##9D7C1F1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#AB706A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d7c1f;
/* rgb */ color: rgb(157, 124, 31);
/* oklch */ color: oklch(60.2% 0.112 87.8);
Tailwind
colors: {
  custom: {
    50: '#bea163',
    500: '#9d7c1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d7c1f;
$custom-light: #bea163;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7c1f",
  "rgb": {
    "r": 157,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 44.286,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.11248,
    "h": 87.8
  },
  "luminance": 0.21682
}

Semantic roles & 50–950 ramp

primary
#9D7C1F
secondary
#5672C2
accent
#6BEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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