#DCD596#DCD596

#DCD596 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.082 H 102.6°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DCD596
RGBrgb(220, 213, 150)
HSLhsl(54, 50%, 73%)
HSVhsv(54, 32%, 86%)
CMYKcmyk(0%, 3.2%, 31.8%, 13.7%)
CIE-LABlab(84.49, -7.06, 32.08)
CIE-LCHlch(84.49, 32.84, 102.41°)
OKLaboklab(86.38% -0.0178 0.0799)
OKLCHoklch(86.38% 0.082 102.6)
XYZxyz(58.8150, 65.0074, 38.2977)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD596 #969DDC
analogous
#DCB296 #DCD596 #C0DC96
triadic
#DCD596 #96DCD5 #D596DC
tetradic
#DCD596 #96DCB2 #969DDC #DC96C0
square
#DCD596 #96DCB2 #969DDC #DC96C0
split-complementary
#DCD596 #96C0DC #B296DC
monochromatic
#BAAD3E #CDC368 #DCD596 #EBE7C4 #F7F6E8

Accessibility & contrast

On white

1.50
#DCD596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#DCD596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD596
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD596#FFFFFF#000000##000000
##DCD5961.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D192
Deuteranopia (green-blind)
#E3D598
Tritanopia (blue-blind)
#E6CDC5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd596;
/* rgb */ color: rgb(220, 213, 150);
/* oklch */ color: oklch(86.4% 0.082 102.6);
Tailwind
colors: {
  custom: {
    50: '#e7e1b5',
    500: '#dcd596',
    950: '#000000',
  },
}
SCSS
$custom: #dcd596;
$custom-light: #e7e1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd596",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 150
  },
  "hsl": {
    "h": 54,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.8638,
    "c": 0.08187,
    "h": 102.6
  },
  "luminance": 0.65006
}

Semantic roles & 50–950 ramp

primary
#DCD596
secondary
#636BB4
accent
#37BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DCD596

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

Preview Lab → · Contrast checker → · Palette generator →

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