#DCDC62#DCDC62

#DCDC62 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.1% C 0.144 H 109.1°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#DCDC62
RGBrgb(220, 220, 98)
HSLhsl(60, 64%, 62%)
HSVhsv(60, 55%, 86%)
CMYKcmyk(0%, 0%, 55.5%, 13.7%)
CIE-LABlab(85.65, -15.72, 58.75)
CIE-LCHlch(85.65, 60.82, 104.98°)
OKLaboklab(87.08% -0.047 0.1362)
OKLCHoklch(87.08% 0.144 109.1)
XYZxyz(57.3146, 67.2854, 21.5211)
Luminance0.6728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC62 #6262DC
analogous
#DC9F62 #DCDC62 #9FDC62
triadic
#DCDC62 #62DCDC #DC62DC
tetradic
#DCDC62 #62DC9F #6262DC #DC629F
square
#DCDC62 #62DC9F #6262DC #DC629F
split-complementary
#DCDC62 #629FDC #9F62DC
monochromatic
#A0A024 #D1D130 #DCDC62 #E7E794 #F2F2C6

Accessibility & contrast

On white

1.45
#DCDC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#DCDC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC62
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC62#FFFFFF#000000##000000
##DCDC621.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#EED869
Tritanopia (blue-blind)
#EAD0C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc62;
/* rgb */ color: rgb(220, 220, 98);
/* oklch */ color: oklch(87.1% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#e9e693',
    500: '#dcdc62',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc62;
$custom-light: #e9e693;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc62",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87083,
    "c": 0.14408,
    "h": 109.1
  },
  "luminance": 0.67284
}

Semantic roles & 50–950 ramp

primary
#DCDC62
secondary
#3F3FA3
accent
#1ACB1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDC62

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

Preview Lab → · Contrast checker → · Palette generator →

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