#9D791E#9D791E

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

Color values

HEX#9D791E
RGBrgb(157, 121, 30)
HSLhsl(43, 68%, 37%)
HSVhsv(43, 81%, 62%)
CMYKcmyk(0%, 22.9%, 80.9%, 38.4%)
CIE-LABlab(52.88, 5.26, 51.38)
CIE-LCHlch(52.88, 51.64, 84.15°)
OKLaboklab(59.58% 0.009 0.1114)
OKLCHoklch(59.58% 0.112 85.4)
XYZxyz(20.9777, 20.9381, 4.1646)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D791E #1E429D
analogous
#9D3A1E #9D791E #829D1E
triadic
#9D791E #1E9D79 #791E9D
tetradic
#9D791E #1E9D3A #1E429D #9D1E82
square
#9D791E #1E9D3A #1E429D #9D1E82
split-complementary
#9D791E #1E829D #3A1E9D
monochromatic
#362A0A #6A5114 #9D791E #D0A128 #DFB857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D791E#FFFFFF#000000##000000
##9D791E1.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)
#89790A
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#AB6D68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d791e;
/* rgb */ color: rgb(157, 121, 30);
/* oklch */ color: oklch(59.6% 0.112 85.4);
Tailwind
colors: {
  custom: {
    50: '#be9f62',
    500: '#9d791e',
    950: '#000000',
  },
}
SCSS
$custom: #9d791e;
$custom-light: #be9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#9d791e",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 42.992,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.11172,
    "h": 85.4
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#9D791E
secondary
#5474C2
accent
#6EEB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9D791E

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

Preview Lab → · Contrast checker → · Palette generator →

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