#DCD571#DCD571

#DCD571 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.123 H 105.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#DCD571
RGBrgb(220, 213, 113)
HSLhsl(56, 60%, 65%)
HSVhsv(56, 49%, 86%)
CMYKcmyk(0%, 3.2%, 48.6%, 13.7%)
CIE-LABlab(83.96, -10.99, 49.87)
CIE-LCHlch(83.96, 51.07, 102.43°)
OKLaboklab(85.8% -0.032 0.1184)
OKLCHoklch(85.8% 0.123 105.1)
XYZxyz(56.2915, 63.9980, 25.0072)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD571 #7178DC
analogous
#DCA071 #DCD571 #ADDC71
triadic
#DCD571 #71DCD5 #D571DC
tetradic
#DCD571 #71DCA0 #7178DC #DC71AD
square
#DCD571 #71DCA0 #7178DC #DC71AD
split-complementary
#DCD571 #71ADDC #A071DC
monochromatic
#A9A12A #D0C640 #DCD571 #E8E4A2 #F4F2D3

Accessibility & contrast

On white

1.52
#DCD571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#DCD571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD571
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD571#FFFFFF#000000##000000
##DCD5711.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#E7D476
Tritanopia (blue-blind)
#E9CABE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd571;
/* rgb */ color: rgb(220, 213, 113);
/* oklch */ color: oklch(85.8% 0.123 105.1);
Tailwind
colors: {
  custom: {
    50: '#e9e19c',
    500: '#dcd571',
    950: '#000000',
  },
}
SCSS
$custom: #dcd571;
$custom-light: #e9e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd571",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 56.075,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85795,
    "c": 0.12267,
    "h": 105.1
  },
  "luminance": 0.63996
}

Semantic roles & 50–950 ramp

primary
#DCD571
secondary
#464CAC
accent
#29C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD571

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

Preview Lab → · Contrast checker → · Palette generator →

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