#DCC797#DCC797

#DCC797 is a very light, moderate orange. Relative luminance 0.583; OKLCH L 83.6% C 0.067 H 87.1°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DCC797
RGBrgb(220, 199, 151)
HSLhsl(42, 50%, 73%)
HSVhsv(42, 31%, 86%)
CMYKcmyk(0%, 9.5%, 31.4%, 13.7%)
CIE-LABlab(80.90, 0.29, 26.76)
CIE-LCHlch(80.90, 26.76, 89.39°)
OKLaboklab(83.56% 0.0034 0.0673)
OKLCHoklch(83.56% 0.067 87.1)
XYZxyz(55.5253, 58.2986, 37.6000)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC797 #97ACDC
analogous
#DCA497 #DCC797 #CEDC97
triadic
#DCC797 #97DCC7 #C797DC
tetradic
#DCC797 #97DCA4 #97ACDC #DC97CE
square
#DCC797 #97DCA4 #97ACDC #DC97CE
split-complementary
#DCC797 #97CEDC #A497DC
monochromatic
#BA943F #CDAE69 #DCC797 #EBE0C5 #F7F3E8

Accessibility & contrast

On white

1.66
#DCC797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#DCC797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC797
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC797#FFFFFF#000000##000000
##DCC7971.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C694
Deuteranopia (green-blind)
#D8CB98
Tritanopia (blue-blind)
#E7BFBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc797;
/* rgb */ color: rgb(220, 199, 151);
/* oklch */ color: oklch(83.6% 0.067 87.1);
Tailwind
colors: {
  custom: {
    50: '#e7d7b6',
    500: '#dcc797',
    950: '#000000',
  },
}
SCSS
$custom: #dcc797;
$custom-light: #e7d7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc797",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 41.739,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.83556,
    "c": 0.0674,
    "h": 87.1
  },
  "luminance": 0.58297
}

Semantic roles & 50–950 ramp

primary
#DCC797
secondary
#647CB4
accent
#56BD29
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161411
muted
#848381

Preview Lab

Preview with #DCC797

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

Preview Lab → · Contrast checker → · Palette generator →

#DCC797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva