#D2DC52#D2DC52

#D2DC52 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.1% C 0.159 H 113.2°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#D2DC52
RGBrgb(210, 220, 82)
HSLhsl(64, 66%, 59%)
HSVhsv(64, 63%, 86%)
CMYKcmyk(4.5%, 0%, 62.7%, 13.7%)
CIE-LABlab(84.74, -20.89, 64.34)
CIE-LCHlch(84.74, 67.65, 107.98°)
OKLaboklab(86.13% -0.0627 0.1462)
OKLCHoklch(86.13% 0.159 113.2)
XYZxyz(53.6959, 65.4983, 17.7948)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC52 #5C52DC
analogous
#DCA152 #D2DC52 #8DDC52
triadic
#D2DC52 #52D2DC #DC52D2
tetradic
#D2DC52 #52DCA1 #5C52DC #DC528D
square
#D2DC52 #52DCA1 #5C52DC #DC528D
split-complementary
#D2DC52 #528DDC #A152DC
monochromatic
#8D951E #BDC829 #D2DC52 #DFE685 #ECF1B8

Accessibility & contrast

On white

1.49
#D2DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#D2DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC52
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC52#FFFFFF#000000##000000
##D2DC521.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#DFD0BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dc52;
/* rgb */ color: rgb(210, 220, 82);
/* oklch */ color: oklch(86.1% 0.159 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e689',
    500: '#d2dc52',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc52;
$custom-light: #e3e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc52",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 64.348,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86125,
    "c": 0.1591,
    "h": 113.2
  },
  "luminance": 0.65497
}

Semantic roles & 50–950 ramp

primary
#D2DC52
secondary
#3F389A
accent
#3FE94B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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