#D1DE52#D1DE52

#D1DE52 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.5% C 0.162 H 114.3°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#D1DE52
RGBrgb(209, 222, 82)
HSLhsl(66, 68%, 60%)
HSVhsv(66, 63%, 87%)
CMYKcmyk(5.9%, 0%, 63.1%, 12.9%)
CIE-LABlab(85.20, -22.26, 64.81)
CIE-LCHlch(85.20, 68.53, 108.96°)
OKLaboklab(86.48% -0.0665 0.1472)
OKLCHoklch(86.48% 0.162 114.3)
XYZxyz(53.9401, 66.4080, 17.9575)
Luminance0.6641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DE52 #5F52DE
analogous
#DEA552 #D1DE52 #8BDE52
triadic
#D1DE52 #52D1DE #DE52D1
tetradic
#D1DE52 #52DEA5 #5F52DE #DE528B
square
#D1DE52 #52DEA5 #5F52DE #DE528B
split-complementary
#D1DE52 #528BDE #A552DE
monochromatic
#8D991D #BDCC27 #D1DE52 #DFE885 #ECF2B9

Accessibility & contrast

On white

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

On black

14.28
#D1DE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DE52
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DE52#FFFFFF#000000##000000
##D1DE521.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1de52;
/* rgb */ color: rgb(209, 222, 82);
/* oklch */ color: oklch(86.5% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#e2e889',
    500: '#d1de52',
    950: '#000000',
  },
}
SCSS
$custom: #d1de52;
$custom-light: #e2e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d1de52",
  "rgb": {
    "r": 209,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 65.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86478,
    "c": 0.16156,
    "h": 114.3
  },
  "luminance": 0.66407
}

Semantic roles & 50–950 ramp

primary
#D1DE52
secondary
#41389D
accent
#3DEB4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1DE52

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

Preview Lab → · Contrast checker → · Palette generator →

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