#9D792D#9D792D

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

Color values

HEX#9D792D
RGBrgb(157, 121, 45)
HSLhsl(41, 55%, 40%)
HSVhsv(41, 71%, 62%)
CMYKcmyk(0%, 22.9%, 71.3%, 38.4%)
CIE-LABlab(52.99, 5.95, 45.35)
CIE-LCHlch(52.99, 45.74, 82.52°)
OKLaboklab(59.69% 0.0128 0.1017)
OKLCHoklch(59.69% 0.103 82.8)
XYZxyz(21.2169, 21.0338, 5.4246)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D792D #2D519D
analogous
#9D412D #9D792D #899D2D
triadic
#9D792D #2D9D79 #792D9D
tetradic
#9D792D #2D9D41 #2D519D #9D2D89
square
#9D792D #2D9D41 #2D519D #9D2D89
split-complementary
#9D792D #2D899D #412D9D
monochromatic
#3E3012 #6D541F #9D792D #C89C3F #D6B56F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D792D#FFFFFF#000000##000000
##9D792D1.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)
#887923
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#AA6E69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d792d;
/* rgb */ color: rgb(157, 121, 45);
/* oklch */ color: oklch(59.7% 0.103 82.8);
Tailwind
colors: {
  custom: {
    50: '#be9f6a',
    500: '#9d792d',
    950: '#000000',
  },
}
SCSS
$custom: #9d792d;
$custom-light: #be9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d792d",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 40.714,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59692,
    "c": 0.10251,
    "h": 82.8
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#9D792D
secondary
#6984BD
accent
#79DF49
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9D792D

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

Preview Lab → · Contrast checker → · Palette generator →

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