#D1DD57#D1DD57

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

Color values

HEX#D1DD57
RGBrgb(209, 221, 87)
HSLhsl(65, 66%, 60%)
HSVhsv(65, 61%, 87%)
CMYKcmyk(5.4%, 0%, 60.6%, 13.3%)
CIE-LABlab(84.97, -21.45, 62.51)
CIE-LCHlch(84.97, 66.09, 108.94°)
OKLaboklab(86.31% -0.0637 0.1431)
OKLCHoklch(86.31% 0.157 114)
XYZxyz(53.8725, 65.9573, 18.9081)
Luminance0.6596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DD57 #6357DD
analogous
#DDA657 #D1DD57 #8EDD57
triadic
#D1DD57 #57D1DD #DD57D1
tetradic
#D1DD57 #57DDA6 #6357DD #DD578E
square
#D1DD57 #57DDA6 #6357DD #DD578E
split-complementary
#D1DD57 #578EDD #A657DD
monochromatic
#8F9A1F #BFCD2A #D1DD57 #DFE78A #EDF2BD

Accessibility & contrast

On white

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

On black

14.19
#D1DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DD57
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DD57#FFFFFF#000000##000000
##D1DD571.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#EBD660
Tritanopia (blue-blind)
#DED1C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1dd57;
/* rgb */ color: rgb(209, 221, 87);
/* oklch */ color: oklch(86.3% 0.157 114.0);
Tailwind
colors: {
  custom: {
    50: '#e2e78c',
    500: '#d1dd57',
    950: '#000000',
  },
}
SCSS
$custom: #d1dd57;
$custom-light: #e2e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dd57",
  "rgb": {
    "r": 209,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 65.373,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86307,
    "c": 0.1566,
    "h": 114
  },
  "luminance": 0.65956
}

Semantic roles & 50–950 ramp

primary
#D1DD57
secondary
#433A9E
accent
#17CE28
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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