#D2DD57#D2DD57

#D2DD57 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.4% C 0.156 H 113.6°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D2DD57
RGBrgb(210, 221, 87)
HSLhsl(65, 66%, 60%)
HSVhsv(65, 61%, 87%)
CMYKcmyk(5%, 0%, 60.6%, 13.3%)
CIE-LABlab(85.05, -21.04, 62.62)
CIE-LCHlch(85.05, 66.06, 108.58°)
OKLaboklab(86.39% -0.0626 0.1432)
OKLCHoklch(86.39% 0.156 113.6)
XYZxyz(54.1564, 66.1037, 18.9214)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD57 #6257DD
analogous
#DDA557 #D2DD57 #8FDD57
triadic
#D2DD57 #57D2DD #DD57D2
tetradic
#D2DD57 #57DDA5 #6257DD #DD578F
square
#D2DD57 #57DDA5 #6257DD #DD578F
split-complementary
#D2DD57 #578FDD #A557DD
monochromatic
#909A1F #C0CD2A #D2DD57 #E0E78A #EDF2BD

Accessibility & contrast

On white

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

On black

14.22
#D2DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD57
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD57#FFFFFF#000000##000000
##D2DD571.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2dd57;
/* rgb */ color: rgb(210, 221, 87);
/* oklch */ color: oklch(86.4% 0.156 113.6);
Tailwind
colors: {
  custom: {
    50: '#e3e78c',
    500: '#d2dd57',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd57;
$custom-light: #e3e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd57",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 64.925,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86385,
    "c": 0.15635,
    "h": 113.6
  },
  "luminance": 0.66103
}

Semantic roles & 50–950 ramp

primary
#D2DD57
secondary
#423A9E
accent
#17CE26
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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