#DCDC59#DCDC59

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

Color values

HEX#DCDC59
RGBrgb(220, 220, 89)
HSLhsl(60, 65%, 61%)
HSVhsv(60, 60%, 86%)
CMYKcmyk(0%, 0%, 59.5%, 13.7%)
CIE-LABlab(85.57, -16.36, 62.56)
CIE-LCHlch(85.57, 64.66, 104.65°)
OKLaboklab(86.99% -0.0498 0.1432)
OKLCHoklch(86.99% 0.152 109.2)
XYZxyz(56.9133, 67.1249, 19.4076)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC59 #5959DC
analogous
#DC9A59 #DCDC59 #9ADC59
triadic
#DCDC59 #59DCDC #DC59DC
tetradic
#DCDC59 #59DC9A #5959DC #DC599A
square
#DCDC59 #59DC9A #5959DC #DC599A
split-complementary
#DCDC59 #599ADC #9A59DC
monochromatic
#9A9A20 #CDCD2B #DCDC59 #E7E78C #F1F1BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDC59#FFFFFF#000000##000000
##DCDC591.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)
#ECD34A
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#EACFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc59;
/* rgb */ color: rgb(220, 220, 89);
/* oklch */ color: oklch(87.0% 0.152 109.2);
Tailwind
colors: {
  custom: {
    50: '#eae68d',
    500: '#dcdc59',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc59;
$custom-light: #eae68d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc59",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86993,
    "c": 0.15159,
    "h": 109.2
  },
  "luminance": 0.67123
}

Semantic roles & 50–950 ramp

primary
#DCDC59
secondary
#3B3B9E
accent
#18CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC59

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

Preview Lab → · Contrast checker → · Palette generator →

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