#DCCD97#DCCD97

#DCCD97 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.072 H 94.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#DCCD97
RGBrgb(220, 205, 151)
HSLhsl(47, 50%, 73%)
HSVhsv(47, 31%, 86%)
CMYKcmyk(0%, 6.8%, 31.4%, 13.7%)
CIE-LABlab(82.44, -2.83, 28.83)
CIE-LCHlch(82.44, 28.97, 95.60°)
OKLaboklab(84.77% -0.0056 0.0722)
OKLCHoklch(84.77% 0.072 94.4)
XYZxyz(56.9331, 61.1142, 38.0693)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD97 #97A6DC
analogous
#DCAB97 #DCCD97 #C8DC97
triadic
#DCCD97 #97DCCD #CD97DC
tetradic
#DCCD97 #97DCAB #97A6DC #DC97C8
square
#DCCD97 #97DCAB #97A6DC #DC97C8
split-complementary
#DCCD97 #97C8DC #AB97DC
monochromatic
#BA9F3F #CDB769 #DCCD97 #EBE3C5 #F7F4E8

Accessibility & contrast

On white

1.59
#DCCD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#DCCD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD97
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD97#FFFFFF#000000##000000
##DCCD971.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA93
Deuteranopia (green-blind)
#DCCF99
Tritanopia (blue-blind)
#E7C5BF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dccd97;
/* rgb */ color: rgb(220, 205, 151);
/* oklch */ color: oklch(84.8% 0.072 94.4);
Tailwind
colors: {
  custom: {
    50: '#e7dcb6',
    500: '#dccd97',
    950: '#000000',
  },
}
SCSS
$custom: #dccd97;
$custom-light: #e7dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd97",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 46.957,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.84767,
    "c": 0.07246,
    "h": 94.4
  },
  "luminance": 0.61113
}

Semantic roles & 50–950 ramp

primary
#DCCD97
secondary
#6475B4
accent
#49BD29
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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