#DCD996#DCD996

#DCD996 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.086 H 105.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#DCD996
RGBrgb(220, 217, 150)
HSLhsl(57, 50%, 73%)
HSVhsv(57, 32%, 86%)
CMYKcmyk(0%, 1.4%, 31.8%, 13.7%)
CIE-LABlab(85.53, -9.09, 33.45)
CIE-LCHlch(85.53, 34.67, 105.21°)
OKLaboklab(87.2% -0.0237 0.0831)
OKLCHoklch(87.2% 0.086 105.9)
XYZxyz(59.8335, 67.0445, 38.6372)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD996 #9699DC
analogous
#DCB696 #DCD996 #BCDC96
triadic
#DCD996 #96DCD9 #D996DC
tetradic
#DCD996 #96DCB6 #9699DC #DC96BC
square
#DCD996 #96DCB6 #9699DC #DC96BC
split-complementary
#DCD996 #96BCDC #B696DC
monochromatic
#BAB43E #CDC868 #DCD996 #EBEAC4 #F7F7E8

Accessibility & contrast

On white

1.46
#DCD996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#DCD996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD996
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD996#FFFFFF#000000##000000
##DCD9961.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D491
Deuteranopia (green-blind)
#E6D799
Tritanopia (blue-blind)
#E6D1C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcd996;
/* rgb */ color: rgb(220, 217, 150);
/* oklch */ color: oklch(87.2% 0.086 105.9);
Tailwind
colors: {
  custom: {
    50: '#e7e4b5',
    500: '#dcd996',
    950: '#000000',
  },
}
SCSS
$custom: #dcd996;
$custom-light: #e7e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd996",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 150
  },
  "hsl": {
    "h": 57.429,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87203,
    "c": 0.08644,
    "h": 105.9
  },
  "luminance": 0.67043
}

Semantic roles & 50–950 ramp

primary
#DCD996
secondary
#6366B4
accent
#2FBD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD996

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

Preview Lab → · Contrast checker → · Palette generator →

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