#DCDC57#DCDC57

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

Color values

HEX#DCDC57
RGBrgb(220, 220, 87)
HSLhsl(60, 66%, 60%)
HSVhsv(60, 60%, 86%)
CMYKcmyk(0%, 0%, 60.5%, 13.7%)
CIE-LABlab(85.55, -16.49, 63.38)
CIE-LCHlch(85.55, 65.49, 104.58°)
OKLaboklab(86.97% -0.0504 0.1447)
OKLCHoklch(86.97% 0.153 109.2)
XYZxyz(56.8304, 67.0917, 18.9713)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC57 #5757DC
analogous
#DC9957 #DCDC57 #99DC57
triadic
#DCDC57 #57DCDC #DC57DC
tetradic
#DCDC57 #57DC99 #5757DC #DC5799
square
#DCDC57 #57DC99 #5757DC #DC5799
split-complementary
#DCDC57 #5799DC #9957DC
monochromatic
#999920 #CBCB2A #DCDC57 #E7E78A #F1F1BC

Accessibility & contrast

On white

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

On black

14.42
#DCDC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC57
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC57#FFFFFF#000000##000000
##DCDC571.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#EACFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc57;
/* rgb */ color: rgb(220, 220, 87);
/* oklch */ color: oklch(87.0% 0.153 109.2);
Tailwind
colors: {
  custom: {
    50: '#eae68c',
    500: '#dcdc57',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc57;
$custom-light: #eae68c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc57",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86974,
    "c": 0.15317,
    "h": 109.2
  },
  "luminance": 0.6709
}

Semantic roles & 50–950 ramp

primary
#DCDC57
secondary
#3A3A9D
accent
#18CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC57

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

Preview Lab → · Contrast checker → · Palette generator →

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