#D5DC57#D5DC57

#D5DC57 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.4% C 0.155 H 112.1°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#D5DC57
RGBrgb(213, 220, 87)
HSLhsl(63, 66%, 60%)
HSVhsv(63, 60%, 86%)
CMYKcmyk(3.2%, 0%, 60.5%, 13.7%)
CIE-LABlab(85.01, -19.34, 62.64)
CIE-LCHlch(85.01, 65.55, 107.16°)
OKLaboklab(86.41% -0.058 0.1432)
OKLCHoklch(86.41% 0.155 112.1)
XYZxyz(54.7555, 66.0218, 18.8741)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC57 #5E57DC
analogous
#DCA157 #D5DC57 #92DC57
triadic
#D5DC57 #57D5DC #DC57D5
tetradic
#D5DC57 #57DCA1 #5E57DC #DC5792
square
#D5DC57 #57DCA1 #5E57DC #DC5792
split-complementary
#D5DC57 #5792DC #A157DC
monochromatic
#929920 #C3CB2A #D5DC57 #E2E78A #EEF1BC

Accessibility & contrast

On white

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

On black

14.20
#D5DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DC57
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DC57#FFFFFF#000000##000000
##D5DC571.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5dc57;
/* rgb */ color: rgb(213, 220, 87);
/* oklch */ color: oklch(86.4% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#e5e68c',
    500: '#d5dc57',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc57;
$custom-light: #e5e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc57",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 63.158,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86408,
    "c": 0.15454,
    "h": 112.1
  },
  "luminance": 0.66021
}

Semantic roles & 50–950 ramp

primary
#D5DC57
secondary
#3F3A9D
accent
#18CD22
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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