#DCC798#DCC798

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

Color values

HEX#DCC798
RGBrgb(220, 199, 152)
HSLhsl(41, 49%, 73%)
HSVhsv(41, 31%, 86%)
CMYKcmyk(0%, 9.5%, 30.9%, 13.7%)
CIE-LABlab(80.92, 0.41, 26.26)
CIE-LCHlch(80.92, 26.26, 89.10°)
OKLaboklab(83.58% 0.0038 0.0661)
OKLCHoklch(83.58% 0.066 86.7)
XYZxyz(55.6068, 58.3312, 38.0295)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC798 #98ADDC
analogous
#DCA598 #DCC798 #CFDC98
triadic
#DCC798 #98DCC7 #C798DC
tetradic
#DCC798 #98DCA5 #98ADDC #DC98CF
square
#DCC798 #98DCA5 #98ADDC #DC98CF
split-complementary
#DCC798 #98CFDC #A598DC
monochromatic
#BA943F #CCAE6A #DCC798 #ECE0C6 #F7F3E8

Accessibility & contrast

On white

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

On black

12.67
#DCC798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC798
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC798#FFFFFF#000000##000000
##DCC7981.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc798;
/* rgb */ color: rgb(220, 199, 152);
/* oklch */ color: oklch(83.6% 0.066 86.7);
Tailwind
colors: {
  custom: {
    50: '#e7d7b6',
    500: '#dcc798',
    950: '#000000',
  },
}
SCSS
$custom: #dcc798;
$custom-light: #e7d7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc798",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 41.471,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.83576,
    "c": 0.06624,
    "h": 86.7
  },
  "luminance": 0.58329
}

Semantic roles & 50–950 ramp

primary
#DCC798
secondary
#647DB4
accent
#57BD29
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161411
muted
#848381

Preview Lab

Preview with #DCC798

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

Preview Lab → · Contrast checker → · Palette generator →

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