#DCDC52#DCDC52

#DCDC52 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.157 H 109.3°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#DCDC52
RGBrgb(220, 220, 82)
HSLhsl(60, 66%, 59%)
HSVhsv(60, 63%, 86%)
CMYKcmyk(0%, 0%, 62.7%, 13.7%)
CIE-LABlab(85.51, -16.80, 65.39)
CIE-LCHlch(85.51, 67.51, 104.41°)
OKLaboklab(86.93% -0.0518 0.1482)
OKLCHoklch(86.93% 0.157 109.3)
XYZxyz(56.6332, 67.0128, 17.9325)
Luminance0.6701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDC52 #5252DC
analogous
#DC9752 #DCDC52 #97DC52
triadic
#DCDC52 #52DCDC #DC52DC
tetradic
#DCDC52 #52DC97 #5252DC #DC5297
square
#DCDC52 #52DC97 #5252DC #DC5297
split-complementary
#DCDC52 #5297DC #9752DC
monochromatic
#95951E #C8C829 #DCDC52 #E6E685 #F1F1B8

Accessibility & contrast

On white

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

On black

14.40
#DCDC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDC52
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDC52#FFFFFF#000000##000000
##DCDC521.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#EBCFBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dcdc52;
/* rgb */ color: rgb(220, 220, 82);
/* oklch */ color: oklch(86.9% 0.157 109.3);
Tailwind
colors: {
  custom: {
    50: '#eae689',
    500: '#dcdc52',
    950: '#000000',
  },
}
SCSS
$custom: #dcdc52;
$custom-light: #eae689;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdc52",
  "rgb": {
    "r": 220,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8693,
    "c": 0.15698,
    "h": 109.3
  },
  "luminance": 0.67011
}

Semantic roles & 50–950 ramp

primary
#DCDC52
secondary
#38389A
accent
#3FE93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDC52

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

Preview Lab → · Contrast checker → · Palette generator →

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