#D1DD51#D1DD51

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

Color values

HEX#D1DD51
RGBrgb(209, 221, 81)
HSLhsl(65, 67%, 59%)
HSVhsv(65, 63%, 87%)
CMYKcmyk(5.4%, 0%, 63.3%, 13.3%)
CIE-LABlab(84.93, -21.84, 64.92)
CIE-LCHlch(84.93, 68.50, 108.59°)
OKLaboklab(86.25% -0.0654 0.1473)
OKLCHoklch(86.25% 0.161 113.9)
XYZxyz(53.6375, 65.8633, 17.6703)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DD51 #5D51DD
analogous
#DDA351 #D1DD51 #8BDD51
triadic
#D1DD51 #51D1DD #DD51D1
tetradic
#D1DD51 #51DDA3 #5D51DD #DD518B
square
#D1DD51 #51DDA3 #5D51DD #DD518B
split-complementary
#D1DD51 #518BDD #A351DD
monochromatic
#8C961D #BCC927 #D1DD51 #DFE784 #ECF1B7

Accessibility & contrast

On white

1.48
#D1DD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#D1DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DD51
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DD51#FFFFFF#000000##000000
##D1DD511.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33F
Deuteranopia (green-blind)
#ECD55A
Tritanopia (blue-blind)
#DED1C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1dd51;
/* rgb */ color: rgb(209, 221, 81);
/* oklch */ color: oklch(86.3% 0.161 113.9);
Tailwind
colors: {
  custom: {
    50: '#e2e788',
    500: '#d1dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d1dd51;
$custom-light: #e2e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dd51",
  "rgb": {
    "r": 209,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 65.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86253,
    "c": 0.1612,
    "h": 113.9
  },
  "luminance": 0.65862
}

Semantic roles & 50–950 ramp

primary
#D1DD51
secondary
#40389B
accent
#3EEA4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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