#DCCC97#DCCC97

#DCCC97 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.6% C 0.072 H 93.3°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#DCCC97
RGBrgb(220, 204, 151)
HSLhsl(46, 50%, 73%)
HSVhsv(46, 31%, 86%)
CMYKcmyk(0%, 7.3%, 31.4%, 13.7%)
CIE-LABlab(82.18, -2.31, 28.48)
CIE-LCHlch(82.18, 28.58, 94.64°)
OKLaboklab(84.56% -0.0041 0.0714)
OKLCHoklch(84.56% 0.072 93.3)
XYZxyz(56.6946, 60.6373, 37.9898)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCC97 #97A7DC
analogous
#DCA997 #DCCC97 #C9DC97
triadic
#DCCC97 #97DCCC #CC97DC
tetradic
#DCCC97 #97DCA9 #97A7DC #DC97C9
square
#DCCC97 #97DCA9 #97A7DC #DC97C9
split-complementary
#DCCC97 #97C9DC #A997DC
monochromatic
#BA9D3F #CDB669 #DCCC97 #EBE2C5 #F7F4E8

Accessibility & contrast

On white

1.60
#DCCC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#DCCC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCC97
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCC97#FFFFFF#000000##000000
##DCCC971.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA93
Deuteranopia (green-blind)
#DBCF99
Tritanopia (blue-blind)
#E7C4BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccc97;
/* rgb */ color: rgb(220, 204, 151);
/* oklch */ color: oklch(84.6% 0.072 93.3);
Tailwind
colors: {
  custom: {
    50: '#e7dbb6',
    500: '#dccc97',
    950: '#000000',
  },
}
SCSS
$custom: #dccc97;
$custom-light: #e7dbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dccc97",
  "rgb": {
    "r": 220,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 46.087,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.84564,
    "c": 0.07154,
    "h": 93.3
  },
  "luminance": 0.60636
}

Semantic roles & 50–950 ramp

primary
#DCCC97
secondary
#6476B4
accent
#4BBD29
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCCC97

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

Preview Lab → · Contrast checker → · Palette generator →

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