#D1DC57#D1DC57

#D1DC57 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.1% C 0.155 H 113.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#D1DC57
RGBrgb(209, 220, 87)
HSLhsl(65, 66%, 60%)
HSVhsv(65, 60%, 86%)
CMYKcmyk(5%, 0%, 60.5%, 13.7%)
CIE-LABlab(84.71, -20.96, 62.22)
CIE-LCHlch(84.71, 65.66, 108.62°)
OKLaboklab(86.09% -0.0623 0.1424)
OKLCHoklch(86.09% 0.155 113.6)
XYZxyz(53.6093, 65.4308, 18.8203)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC57 #6257DC
analogous
#DCA457 #D1DC57 #8FDC57
triadic
#D1DC57 #57D1DC #DC57D1
tetradic
#D1DC57 #57DCA4 #6257DC #DC578F
square
#D1DC57 #57DCA4 #6257DC #DC578F
split-complementary
#D1DC57 #578FDC #A457DC
monochromatic
#8F9920 #BECB2A #D1DC57 #DFE78A #EDF1BC

Accessibility & contrast

On white

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

On black

14.09
#D1DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DC57
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DC57#FFFFFF#000000##000000
##D1DC571.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD247
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#DED0C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc57;
/* rgb */ color: rgb(209, 220, 87);
/* oklch */ color: oklch(86.1% 0.155 113.6);
Tailwind
colors: {
  custom: {
    50: '#e2e68c',
    500: '#d1dc57',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc57;
$custom-light: #e2e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc57",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 64.962,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86092,
    "c": 0.15549,
    "h": 113.6
  },
  "luminance": 0.6543
}

Semantic roles & 50–950 ramp

primary
#D1DC57
secondary
#423A9D
accent
#18CD27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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