#D2DD52#D2DD52

#D2DD52 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.3% C 0.160 H 113.6°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#D2DD52
RGBrgb(210, 221, 82)
HSLhsl(65, 67%, 59%)
HSVhsv(65, 63%, 87%)
CMYKcmyk(5%, 0%, 62.9%, 13.3%)
CIE-LABlab(85.01, -21.37, 64.63)
CIE-LCHlch(85.01, 68.07, 108.30°)
OKLaboklab(86.34% -0.0641 0.1468)
OKLCHoklch(86.34% 0.16 113.6)
XYZxyz(53.9592, 66.0248, 17.8826)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD52 #5D52DD
analogous
#DDA352 #D2DD52 #8DDD52
triadic
#D2DD52 #52D2DD #DD52D2
tetradic
#D2DD52 #52DDA3 #5D52DD #DD528D
square
#D2DD52 #52DDA3 #5D52DD #DD528D
split-complementary
#D2DD52 #528DDD #A352DD
monochromatic
#8D971E #BDCA28 #D2DD52 #DFE785 #EDF1B8

Accessibility & contrast

On white

1.48
#D2DD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#D2DD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD52
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD52#FFFFFF#000000##000000
##D2DD521.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD340
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#DFD1C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dd52;
/* rgb */ color: rgb(210, 221, 82);
/* oklch */ color: oklch(86.3% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#e3e789',
    500: '#d2dd52',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd52;
$custom-light: #e3e789;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd52",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 64.748,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8634,
    "c": 0.16019,
    "h": 113.6
  },
  "luminance": 0.66024
}

Semantic roles & 50–950 ramp

primary
#D2DD52
secondary
#40389B
accent
#3EEA4B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DD52

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

Preview Lab → · Contrast checker → · Palette generator →

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