#DCD456#DCD456

#DCD456 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.146 H 105.7°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#DCD456
RGBrgb(220, 212, 86)
HSLhsl(56, 66%, 60%)
HSVhsv(56, 61%, 86%)
CMYKcmyk(0%, 3.6%, 60.9%, 13.7%)
CIE-LABlab(83.43, -12.58, 61.51)
CIE-LCHlch(83.43, 62.79, 101.56°)
OKLaboklab(85.28% -0.0394 0.1406)
OKLCHoklch(85.28% 0.146 105.7)
XYZxyz(54.7403, 62.9763, 18.0744)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD456 #565EDC
analogous
#DC9156 #DCD456 #A1DC56
triadic
#DCD456 #56DCD4 #D456DC
tetradic
#DCD456 #56DC91 #565EDC #DC56A1
square
#DCD456 #56DC91 #565EDC #DC56A1
split-complementary
#DCD456 #56A1DC #9156DC
monochromatic
#989120 #CBC12A #DCD456 #E6E189 #F1EEBB

Accessibility & contrast

On white

1.54
#DCD456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#DCD456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD456
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD456#FFFFFF#000000##000000
##DCD4561.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#EBC7B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd456;
/* rgb */ color: rgb(220, 212, 86);
/* oklch */ color: oklch(85.3% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#eae18b',
    500: '#dcd456',
    950: '#000000',
  },
}
SCSS
$custom: #dcd456;
$custom-light: #eae18b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd456",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 56.418,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.85282,
    "c": 0.14598,
    "h": 105.7
  },
  "luminance": 0.62974
}

Semantic roles & 50–950 ramp

primary
#DCD456
secondary
#3A409C
accent
#49E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD456

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

Preview Lab → · Contrast checker → · Palette generator →

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