#9D791D#9D791D

#9D791D is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.6% C 0.112 H 85.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9D791D
RGBrgb(157, 121, 29)
HSLhsl(43, 69%, 36%)
HSVhsv(43, 82%, 62%)
CMYKcmyk(0%, 22.9%, 81.5%, 38.4%)
CIE-LABlab(52.88, 5.22, 51.73)
CIE-LCHlch(52.88, 51.99, 84.23°)
OKLaboklab(59.57% 0.0087 0.1119)
OKLCHoklch(59.57% 0.112 85.5)
XYZxyz(20.9651, 20.9331, 4.0984)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D791D #1D419D
analogous
#9D391D #9D791D #819D1D
triadic
#9D791D #1D9D79 #791D9D
tetradic
#9D791D #1D9D39 #1D419D #9D1D81
square
#9D791D #1D9D39 #1D419D #9D1D81
split-complementary
#9D791D #1D819D #391D9D
monochromatic
#36290A #695113 #9D791D #D1A127 #E0B955

Accessibility & contrast

On white

4.05
#9D791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9D791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D791D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D791D#FFFFFF#000000##000000
##9D791D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897908
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#AB6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d791d;
/* rgb */ color: rgb(157, 121, 29);
/* oklch */ color: oklch(59.6% 0.112 85.5);
Tailwind
colors: {
  custom: {
    50: '#be9f62',
    500: '#9d791d',
    950: '#000000',
  },
}
SCSS
$custom: #9d791d;
$custom-light: #be9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9d791d",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 43.125,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.11223,
    "h": 85.5
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#9D791D
secondary
#5372C3
accent
#6EEC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9D791D

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

Preview Lab → · Contrast checker → · Palette generator →

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