#9D7A1F#9D7A1F

#9D7A1F is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.8% C 0.112 H 86.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9D7A1F
RGBrgb(157, 122, 31)
HSLhsl(43, 67%, 37%)
HSVhsv(43, 80%, 62%)
CMYKcmyk(0%, 22.3%, 80.3%, 38.4%)
CIE-LABlab(53.15, 4.73, 51.26)
CIE-LCHlch(53.15, 51.48, 84.72°)
OKLaboklab(59.79% 0.0076 0.1114)
OKLCHoklch(59.79% 0.112 86.1)
XYZxyz(21.1128, 21.1876, 4.2737)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7A1F #1F429D
analogous
#9D3B1F #9D7A1F #819D1F
triadic
#9D7A1F #1F9D7A #7A1F9D
tetradic
#9D7A1F #1F9D3B #1F429D #9D1F81
square
#9D7A1F #1F9D3B #1F429D #9D1F81
split-complementary
#9D7A1F #1F819D #3B1F9D
monochromatic
#372B0B #6A5215 #9D7A1F #D0A229 #DEB958

Accessibility & contrast

On white

4.01
#9D7A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9D7A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7A1F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7A1F#FFFFFF#000000##000000
##9D7A1F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0C
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#AB6E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d7a1f;
/* rgb */ color: rgb(157, 122, 31);
/* oklch */ color: oklch(59.8% 0.112 86.1);
Tailwind
colors: {
  custom: {
    50: '#bea063',
    500: '#9d7a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d7a1f;
$custom-light: #bea063;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7a1f",
  "rgb": {
    "r": 157,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 43.333,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.11161,
    "h": 86.1
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#9D7A1F
secondary
#5674C2
accent
#6EEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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