#9D7B1F#9D7B1F

#9D7B1F is a mid, moderate orange. Relative luminance 0.214; OKLCH L 60.0% C 0.112 H 87.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9D7B1F
RGBrgb(157, 123, 31)
HSLhsl(44, 67%, 37%)
HSVhsv(44, 80%, 62%)
CMYKcmyk(0%, 21.7%, 80.3%, 38.4%)
CIE-LABlab(53.42, 4.17, 51.51)
CIE-LCHlch(53.42, 51.67, 85.37°)
OKLaboklab(60% 0.0059 0.1119)
OKLCHoklch(60% 0.112 87)
XYZxyz(21.2363, 21.4344, 4.3148)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7B1F #1F419D
analogous
#9D3C1F #9D7B1F #809D1F
triadic
#9D7B1F #1F9D7B #7B1F9D
tetradic
#9D7B1F #1F9D3C #1F419D #9D1F80
square
#9D7B1F #1F9D3C #1F419D #9D1F80
split-complementary
#9D7B1F #1F809D #3C1F9D
monochromatic
#372B0B #6A5315 #9D7B1F #D0A329 #DEBA58

Accessibility & contrast

On white

3.97
#9D7B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9D7B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7B1F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7B1F#FFFFFF#000000##000000
##9D7B1F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0C
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#AB6F6A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d7b1f;
/* rgb */ color: rgb(157, 123, 31);
/* oklch */ color: oklch(60.0% 0.112 87.0);
Tailwind
colors: {
  custom: {
    50: '#bea063',
    500: '#9d7b1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d7b1f;
$custom-light: #bea063;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7b1f",
  "rgb": {
    "r": 157,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 43.81,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.11203,
    "h": 87
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#9D7B1F
secondary
#5673C2
accent
#6CEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A

Preview Lab

Preview with #9D7B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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