#D2DE52#D2DE52

#D2DE52 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.6% C 0.161 H 113.9°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D2DE52
RGBrgb(210, 222, 82)
HSLhsl(65, 68%, 60%)
HSVhsv(65, 63%, 87%)
CMYKcmyk(5.4%, 0%, 63.1%, 12.9%)
CIE-LABlab(85.28, -21.86, 64.91)
CIE-LCHlch(85.28, 68.49, 108.61°)
OKLaboklab(86.56% -0.0654 0.1474)
OKLCHoklch(86.56% 0.161 113.9)
XYZxyz(54.2240, 66.5544, 17.9708)
Luminance0.6655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DE52 #5E52DE
analogous
#DEA452 #D2DE52 #8CDE52
triadic
#D2DE52 #52D2DE #DE52D2
tetradic
#D2DE52 #52DEA4 #5E52DE #DE528C
square
#D2DE52 #52DEA4 #5E52DE #DE528C
split-complementary
#D2DE52 #528CDE #A452DE
monochromatic
#8E991D #BECC27 #D2DE52 #DFE885 #EDF2B9

Accessibility & contrast

On white

1.47
#D2DE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#D2DE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DE52
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DE52#FFFFFF#000000##000000
##D2DE521.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD440
Deuteranopia (green-blind)
#EDD65B
Tritanopia (blue-blind)
#DFD2C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2de52;
/* rgb */ color: rgb(210, 222, 82);
/* oklch */ color: oklch(86.6% 0.161 113.9);
Tailwind
colors: {
  custom: {
    50: '#e3e889',
    500: '#d2de52',
    950: '#000000',
  },
}
SCSS
$custom: #d2de52;
$custom-light: #e3e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d2de52",
  "rgb": {
    "r": 210,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 65.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86556,
    "c": 0.16129,
    "h": 113.9
  },
  "luminance": 0.66553
}

Semantic roles & 50–950 ramp

primary
#D2DE52
secondary
#40389D
accent
#3DEB4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DE52

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

Preview Lab → · Contrast checker → · Palette generator →

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