#DCDC56#DCDC56

#DCDC56 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.0% C 0.154 H 109.2°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#DCDC56
RGBrgb(220, 220, 86)
HSLhsl(60, 66%, 60%)
HSVhsv(60, 61%, 86%)
CMYKcmyk(0%, 0%, 60.9%, 13.7%)
CIE-LABlab(85.54, -16.55, 63.79)
CIE-LCHlch(85.54, 65.90, 104.55°)
OKLaboklab(86.97% -0.0507 0.1454)
OKLCHoklch(86.97% 0.154 109.2)
XYZxyz(56.7899, 67.0755, 18.7576)
Luminance0.6707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC56 #5656DC
analogous
#DC9956 #DCDC56 #99DC56
triadic
#DCDC56 #56DCDC #DC56DC
tetradic
#DCDC56 #56DC99 #5656DC #DC5699
square
#DCDC56 #56DC99 #5656DC #DC5699
split-complementary
#DCDC56 #5699DC #9956DC
monochromatic
#989820 #CBCB2A #DCDC56 #E6E689 #F1F1BB

Accessibility & contrast

On white

1.46
#DCDC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#DCDC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC56
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC56#FFFFFF#000000##000000
##DCDC561.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD346
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#EBCFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc56;
/* rgb */ color: rgb(220, 220, 86);
/* oklch */ color: oklch(87.0% 0.154 109.2);
Tailwind
colors: {
  custom: {
    50: '#eae68b',
    500: '#dcdc56',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc56;
$custom-light: #eae68b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc56",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.86965,
    "c": 0.15395,
    "h": 109.2
  },
  "luminance": 0.67074
}

Semantic roles & 50–950 ramp

primary
#DCDC56
secondary
#3A3A9C
accent
#3FE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC56

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

Preview Lab → · Contrast checker → · Palette generator →

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