#D4DC57#D4DC57

#D4DC57 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.3% C 0.155 H 112.5°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#D4DC57
RGBrgb(212, 220, 87)
HSLhsl(64, 66%, 60%)
HSVhsv(64, 60%, 86%)
CMYKcmyk(3.6%, 0%, 60.5%, 13.7%)
CIE-LABlab(84.93, -19.75, 62.53)
CIE-LCHlch(84.93, 65.58, 107.52°)
OKLaboklab(86.33% -0.0591 0.143)
OKLCHoklch(86.33% 0.155 112.5)
XYZxyz(54.4663, 65.8727, 18.8605)
Luminance0.6587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC57 #5F57DC
analogous
#DCA157 #D4DC57 #91DC57
triadic
#D4DC57 #57D4DC #DC57D4
tetradic
#D4DC57 #57DCA1 #5F57DC #DC5791
square
#D4DC57 #57DCA1 #5F57DC #DC5791
split-complementary
#D4DC57 #5791DC #A157DC
monochromatic
#919920 #C2CB2A #D4DC57 #E1E78A #EEF1BC

Accessibility & contrast

On white

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

On black

14.17
#D4DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC57
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC57#FFFFFF#000000##000000
##D4DC571.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4dc57;
/* rgb */ color: rgb(212, 220, 87);
/* oklch */ color: oklch(86.3% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#e4e68c',
    500: '#d4dc57',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc57;
$custom-light: #e4e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc57",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 63.609,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86328,
    "c": 0.15476,
    "h": 112.5
  },
  "luminance": 0.65872
}

Semantic roles & 50–950 ramp

primary
#D4DC57
secondary
#403A9D
accent
#18CD23
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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