#DCD472#DCD472

#DCD472 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.121 H 104.5°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DCD472
RGBrgb(220, 212, 114)
HSLhsl(55, 60%, 65%)
HSVhsv(55, 48%, 86%)
CMYKcmyk(0%, 3.6%, 48.2%, 13.7%)
CIE-LABlab(83.71, -10.40, 49.09)
CIE-LCHlch(83.71, 50.18, 101.96°)
OKLaboklab(85.6% -0.0302 0.1168)
OKLCHoklch(85.6% 0.121 104.5)
XYZxyz(56.0974, 63.5192, 25.2217)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD472 #727ADC
analogous
#DC9F72 #DCD472 #AFDC72
triadic
#DCD472 #72DCD4 #D472DC
tetradic
#DCD472 #72DC9F #727ADC #DC72AF
square
#DCD472 #72DC9F #727ADC #DC72AF
split-complementary
#DCD472 #72AFDC #9F72DC
monochromatic
#AAA02A #D0C541 #DCD472 #E8E3A3 #F4F2D4

Accessibility & contrast

On white

1.53
#DCD472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#DCD472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD472
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD472#FFFFFF#000000##000000
##DCD4721.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E6D377
Tritanopia (blue-blind)
#E9C9BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd472;
/* rgb */ color: rgb(220, 212, 114);
/* oklch */ color: oklch(85.6% 0.121 104.5);
Tailwind
colors: {
  custom: {
    50: '#e9e19d',
    500: '#dcd472',
    950: '#000000',
  },
}
SCSS
$custom: #dcd472;
$custom-light: #e9e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd472",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 55.472,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.856,
    "c": 0.12064,
    "h": 104.5
  },
  "luminance": 0.63518
}

Semantic roles & 50–950 ramp

primary
#DCD472
secondary
#464EAC
accent
#2AC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD472

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

Preview Lab → · Contrast checker → · Palette generator →

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