#D2DC57#D2DC57

#D2DC57 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.2% C 0.155 H 113.2°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#D2DC57
RGBrgb(210, 220, 87)
HSLhsl(65, 66%, 60%)
HSVhsv(65, 60%, 86%)
CMYKcmyk(4.5%, 0%, 60.5%, 13.7%)
CIE-LABlab(84.78, -20.56, 62.32)
CIE-LCHlch(84.78, 65.63, 108.25°)
OKLaboklab(86.17% -0.0613 0.1426)
OKLCHoklch(86.17% 0.155 113.2)
XYZxyz(53.8932, 65.5772, 18.8336)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC57 #6157DC
analogous
#DCA357 #D2DC57 #90DC57
triadic
#D2DC57 #57D2DC #DC57D2
tetradic
#D2DC57 #57DCA3 #6157DC #DC5790
square
#D2DC57 #57DCA3 #6157DC #DC5790
split-complementary
#D2DC57 #5790DC #A357DC
monochromatic
#909920 #BFCB2A #D2DC57 #E0E78A #EDF1BC

Accessibility & contrast

On white

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

On black

14.12
#D2DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC57
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC57#FFFFFF#000000##000000
##D2DC571.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2dc57;
/* rgb */ color: rgb(210, 220, 87);
/* oklch */ color: oklch(86.2% 0.155 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e68c',
    500: '#d2dc57',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc57;
$custom-light: #e3e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc57",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 64.511,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8617,
    "c": 0.15523,
    "h": 113.2
  },
  "luminance": 0.65576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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