#D2DF51#D2DF51

#D2DF51 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.8% C 0.163 H 114.3°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#D2DF51
RGBrgb(210, 223, 81)
HSLhsl(65, 69%, 60%)
HSVhsv(65, 64%, 87%)
CMYKcmyk(5.8%, 0%, 63.7%, 12.5%)
CIE-LABlab(85.54, -22.40, 65.59)
CIE-LCHlch(85.54, 69.31, 108.86°)
OKLaboklab(86.76% -0.0671 0.1487)
OKLCHoklch(86.76% 0.163 114.3)
XYZxyz(54.4526, 67.0720, 17.8607)
Luminance0.6707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF51 #5E51DF
analogous
#DFA551 #D2DF51 #8BDF51
triadic
#D2DF51 #51D2DF #DF51D2
tetradic
#D2DF51 #51DFA5 #5E51DF #DF518B
square
#D2DF51 #51DFA5 #5E51DF #DF518B
split-complementary
#D2DF51 #518BDF #A551DF
monochromatic
#8E991C #BECD26 #D2DF51 #DFE985 #EDF2B8

Accessibility & contrast

On white

1.46
#D2DF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#D2DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF51
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF51#FFFFFF#000000##000000
##D2DF511.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED53E
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df51;
/* rgb */ color: rgb(210, 223, 81);
/* oklch */ color: oklch(86.8% 0.163 114.3);
Tailwind
colors: {
  custom: {
    50: '#e3e888',
    500: '#d2df51',
    950: '#000000',
  },
}
SCSS
$custom: #d2df51;
$custom-light: #e3e888;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df51",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 65.493,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86763,
    "c": 0.16313,
    "h": 114.3
  },
  "luminance": 0.67071
}

Semantic roles & 50–950 ramp

primary
#D2DF51
secondary
#40379D
accent
#3CEC4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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