#D1DC51#D1DC51

#D1DC51 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.0% C 0.160 H 113.6°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D1DC51
RGBrgb(209, 220, 81)
HSLhsl(65, 67%, 59%)
HSVhsv(65, 63%, 86%)
CMYKcmyk(5%, 0%, 63.2%, 13.7%)
CIE-LABlab(84.66, -21.36, 64.64)
CIE-LCHlch(84.66, 68.07, 108.28°)
OKLaboklab(86.04% -0.0641 0.1467)
OKLCHoklch(86.04% 0.16 113.6)
XYZxyz(53.3743, 65.3368, 17.5826)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC51 #5C51DC
analogous
#DCA251 #D1DC51 #8CDC51
triadic
#D1DC51 #51D1DC #DC51D1
tetradic
#D1DC51 #51DCA2 #5C51DC #DC518C
square
#D1DC51 #51DCA2 #5C51DC #DC518C
split-complementary
#D1DC51 #518CDC #A251DC
monochromatic
#8B951E #BBC828 #D1DC51 #DEE684 #ECF0B7

Accessibility & contrast

On white

1.49
#D1DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D1DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DC51
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DC51#FFFFFF#000000##000000
##D1DC511.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#DED0BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc51;
/* rgb */ color: rgb(209, 220, 81);
/* oklch */ color: oklch(86.0% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#e2e688',
    500: '#d1dc51',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc51;
$custom-light: #e2e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc51",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 64.748,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86037,
    "c": 0.1601,
    "h": 113.6
  },
  "luminance": 0.65336
}

Semantic roles & 50–950 ramp

primary
#D1DC51
secondary
#403899
accent
#3EE94C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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