#D2DD51#D2DD51

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

Color values

HEX#D2DD51
RGBrgb(210, 221, 81)
HSLhsl(65, 67%, 59%)
HSVhsv(65, 63%, 87%)
CMYKcmyk(5%, 0%, 63.3%, 13.3%)
CIE-LABlab(85.00, -21.44, 65.02)
CIE-LCHlch(85.00, 68.46, 108.25°)
OKLaboklab(86.33% -0.0643 0.1475)
OKLCHoklch(86.33% 0.161 113.6)
XYZxyz(53.9214, 66.0097, 17.6836)
Luminance0.6601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD51 #5C51DD
analogous
#DDA251 #D2DD51 #8CDD51
triadic
#D2DD51 #51D2DD #DD51D2
tetradic
#D2DD51 #51DDA2 #5C51DD #DD518C
square
#D2DD51 #51DDA2 #5C51DD #DD518C
split-complementary
#D2DD51 #518CDD #A251DD
monochromatic
#8D961D #BDC927 #D2DD51 #DFE784 #ECF1B7

Accessibility & contrast

On white

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

On black

14.20
#D2DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD51
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD51#FFFFFF#000000##000000
##D2DD511.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2dd51;
/* rgb */ color: rgb(210, 221, 81);
/* oklch */ color: oklch(86.3% 0.161 113.6);
Tailwind
colors: {
  custom: {
    50: '#e3e788',
    500: '#d2dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd51;
$custom-light: #e3e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd51",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 64.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86332,
    "c": 0.16094,
    "h": 113.6
  },
  "luminance": 0.66009
}

Semantic roles & 50–950 ramp

primary
#D2DD51
secondary
#3F389B
accent
#3EEA4B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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