#9D792E#9D792E

#9D792E is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.7% C 0.102 H 82.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9D792E
RGBrgb(157, 121, 46)
HSLhsl(41, 55%, 40%)
HSVhsv(41, 71%, 62%)
CMYKcmyk(0%, 22.9%, 70.7%, 38.4%)
CIE-LABlab(52.99, 6.01, 44.90)
CIE-LCHlch(52.99, 45.30, 82.38°)
OKLaboklab(59.7% 0.0131 0.101)
OKLCHoklch(59.7% 0.102 82.6)
XYZxyz(21.2364, 21.0416, 5.5272)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D792E #2E529D
analogous
#9D422E #9D792E #899D2E
triadic
#9D792E #2E9D79 #792E9D
tetradic
#9D792E #2E9D42 #2E529D #9D2E89
square
#9D792E #2E9D42 #2E529D #9D2E89
split-complementary
#9D792E #2E899D #422E9D
monochromatic
#3E3012 #6E5520 #9D792E #C79C41 #D5B470

Accessibility & contrast

On white

4.03
#9D792E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9D792E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D792E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D792E#FFFFFF#000000##000000
##9D792E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#AA6E69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d792e;
/* rgb */ color: rgb(157, 121, 46);
/* oklch */ color: oklch(59.7% 0.102 82.6);
Tailwind
colors: {
  custom: {
    50: '#be9f6b',
    500: '#9d792e',
    950: '#000000',
  },
}
SCSS
$custom: #9d792e;
$custom-light: #be9f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d792e",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 40.541,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.10179,
    "h": 82.6
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

primary
#9D792E
secondary
#6A85BD
accent
#7ADE4A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9D792E

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

Preview Lab → · Contrast checker → · Palette generator →

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