#D1DE51#D1DE51

#D1DE51 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#D1DE51
RGBrgb(209, 222, 81)
HSLhsl(66, 68%, 59%)
HSVhsv(66, 64%, 87%)
CMYKcmyk(5.9%, 0%, 63.5%, 12.9%)
CIE-LABlab(85.20, -22.33, 65.20)
CIE-LCHlch(85.20, 68.92, 108.90°)
OKLaboklab(86.47% -0.0668 0.1479)
OKLCHoklch(86.47% 0.162 114.3)
XYZxyz(53.9023, 66.3929, 17.7586)
Luminance0.6639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DE51 #5E51DE
analogous
#DEA551 #D1DE51 #8BDE51
triadic
#D1DE51 #51D1DE #DE51D1
tetradic
#D1DE51 #51DEA5 #5E51DE #DE518B
square
#D1DE51 #51DEA5 #5E51DE #DE518B
split-complementary
#D1DE51 #518BDE #A551DE
monochromatic
#8C981D #BCCB27 #D1DE51 #DFE884 #ECF2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DE51#FFFFFF#000000##000000
##D1DE511.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)
#EDD43F
Deuteranopia (green-blind)
#EDD65B
Tritanopia (blue-blind)
#DED2C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d1de51;
/* rgb */ color: rgb(209, 222, 81);
/* oklch */ color: oklch(86.5% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#e2e888',
    500: '#d1de51',
    950: '#000000',
  },
}
SCSS
$custom: #d1de51;
$custom-light: #e2e888;
$custom-dark: #000000;
JSON
{
  "hex": "#d1de51",
  "rgb": {
    "r": 209,
    "g": 222,
    "b": 81
  },
  "hsl": {
    "h": 65.532,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86469,
    "c": 0.1623,
    "h": 114.3
  },
  "luminance": 0.66392
}

Semantic roles & 50–950 ramp

primary
#D1DE51
secondary
#41379C
accent
#3DEB4D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1DE51

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

Preview Lab → · Contrast checker → · Palette generator →

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