#D2DE51#D2DE51

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

Color values

HEX#D2DE51
RGBrgb(210, 222, 81)
HSLhsl(65, 68%, 59%)
HSVhsv(65, 64%, 87%)
CMYKcmyk(5.4%, 0%, 63.5%, 12.9%)
CIE-LABlab(85.27, -21.92, 65.30)
CIE-LCHlch(85.27, 68.89, 108.56°)
OKLaboklab(86.55% -0.0657 0.1481)
OKLCHoklch(86.55% 0.162 113.9)
XYZxyz(54.1862, 66.5393, 17.7719)
Luminance0.6654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DE51 #5D51DE
analogous
#DEA351 #D2DE51 #8CDE51
triadic
#D2DE51 #51D2DE #DE51D2
tetradic
#D2DE51 #51DEA3 #5D51DE #DE518C
square
#D2DE51 #51DEA3 #5D51DE #DE518C
split-complementary
#D2DE51 #518CDE #A351DE
monochromatic
#8D981D #BDCB27 #D2DE51 #DFE884 #EDF2B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2DE51#FFFFFF#000000##000000
##D2DE511.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)
#EDD43E
Deuteranopia (green-blind)
#EDD65B
Tritanopia (blue-blind)
#DFD2C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2de51;
/* rgb */ color: rgb(210, 222, 81);
/* oklch */ color: oklch(86.5% 0.162 113.9);
Tailwind
colors: {
  custom: {
    50: '#e3e888',
    500: '#d2de51',
    950: '#000000',
  },
}
SCSS
$custom: #d2de51;
$custom-light: #e3e888;
$custom-dark: #000000;
JSON
{
  "hex": "#d2de51",
  "rgb": {
    "r": 210,
    "g": 222,
    "b": 81
  },
  "hsl": {
    "h": 65.106,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86547,
    "c": 0.16203,
    "h": 113.9
  },
  "luminance": 0.66538
}

Semantic roles & 50–950 ramp

primary
#D2DE51
secondary
#40379C
accent
#3DEB4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DE51

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

Preview Lab → · Contrast checker → · Palette generator →

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