#DCD956#DCD956

#DCD956 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.3% C 0.151 H 107.9°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DCD956
RGBrgb(220, 217, 86)
HSLhsl(59, 66%, 60%)
HSVhsv(59, 61%, 86%)
CMYKcmyk(0%, 1.4%, 60.9%, 13.7%)
CIE-LABlab(84.75, -15.07, 62.94)
CIE-LCHlch(84.75, 64.72, 103.47°)
OKLaboklab(86.33% -0.0465 0.1436)
OKLCHoklch(86.33% 0.151 107.9)
XYZxyz(56.0096, 65.5149, 18.4975)
Luminance0.6551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD956 #5659DC
analogous
#DC9656 #DCD956 #9CDC56
triadic
#DCD956 #56DCD9 #D956DC
tetradic
#DCD956 #56DC96 #5659DC #DC569C
square
#DCD956 #56DC96 #5659DC #DC569C
split-complementary
#DCD956 #569CDC #9656DC
monochromatic
#989520 #CBC72A #DCD956 #E6E489 #F1F0BB

Accessibility & contrast

On white

1.49
#DCD956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#DCD956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD956
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD956#FFFFFF#000000##000000
##DCD9561.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD146
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#EBCCBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd956;
/* rgb */ color: rgb(220, 217, 86);
/* oklch */ color: oklch(86.3% 0.151 107.9);
Tailwind
colors: {
  custom: {
    50: '#eae48b',
    500: '#dcd956',
    950: '#000000',
  },
}
SCSS
$custom: #dcd956;
$custom-light: #eae48b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd956",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 58.657,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.86332,
    "c": 0.1509,
    "h": 107.9
  },
  "luminance": 0.65513
}

Semantic roles & 50–950 ramp

primary
#DCD956
secondary
#3A3C9C
accent
#43E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD956

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

Preview Lab → · Contrast checker → · Palette generator →

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