#9D792C#9D792C

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

Color values

HEX#9D792C
RGBrgb(157, 121, 44)
HSLhsl(41, 56%, 39%)
HSVhsv(41, 72%, 62%)
CMYKcmyk(0%, 22.9%, 72%, 38.4%)
CIE-LABlab(52.98, 5.90, 45.79)
CIE-LCHlch(52.98, 46.17, 82.66°)
OKLaboklab(59.68% 0.0125 0.1025)
OKLCHoklch(59.68% 0.103 83.1)
XYZxyz(21.1979, 21.0262, 5.3244)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D792C #2C509D
analogous
#9D412C #9D792C #899D2C
triadic
#9D792C #2C9D79 #792C9D
tetradic
#9D792C #2C9D41 #2C509D #9D2C89
square
#9D792C #2C9D41 #2C509D #9D2C89
split-complementary
#9D792C #2C899D #412C9D
monochromatic
#3D2F11 #6D541F #9D792C #C99C3D #D6B56D

Accessibility & contrast

On white

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

On black

5.20
#9D792C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D792C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D792C#FFFFFF#000000##000000
##9D792C1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#AA6E69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d792c;
/* rgb */ color: rgb(157, 121, 44);
/* oklch */ color: oklch(59.7% 0.103 83.1);
Tailwind
colors: {
  custom: {
    50: '#be9f6a',
    500: '#9d792c',
    950: '#000000',
  },
}
SCSS
$custom: #9d792c;
$custom-light: #be9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d792c",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 40.885,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.10321,
    "h": 83.1
  },
  "luminance": 0.21025
}

Semantic roles & 50–950 ramp

primary
#9D792C
secondary
#6883BD
accent
#78E048
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A

Preview Lab

Preview with #9D792C

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

Preview Lab → · Contrast checker → · Palette generator →

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