#D8DC57#D8DC57

#D8DC57 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.6% C 0.154 H 110.8°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#D8DC57
RGBrgb(216, 220, 87)
HSLhsl(62, 66%, 60%)
HSVhsv(62, 60%, 86%)
CMYKcmyk(1.8%, 0%, 60.5%, 13.7%)
CIE-LABlab(85.24, -18.12, 62.95)
CIE-LCHlch(85.24, 65.51, 106.06°)
OKLaboklab(86.65% -0.0547 0.1438)
OKLCHoklch(86.65% 0.154 110.8)
XYZxyz(55.6340, 66.4748, 18.9152)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC57 #5B57DC
analogous
#DC9E57 #D8DC57 #95DC57
triadic
#D8DC57 #57D8DC #DC57D8
tetradic
#D8DC57 #57DC9E #5B57DC #DC5795
square
#D8DC57 #57DC9E #5B57DC #DC5795
split-complementary
#D8DC57 #5795DC #9E57DC
monochromatic
#959920 #C7CB2A #D8DC57 #E4E78A #F0F1BC

Accessibility & contrast

On white

1.47
#D8DC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#D8DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC57
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC57#FFFFFF#000000##000000
##D8DC571.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#E6CFC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc57;
/* rgb */ color: rgb(216, 220, 87);
/* oklch */ color: oklch(86.6% 0.154 110.8);
Tailwind
colors: {
  custom: {
    50: '#e7e68c',
    500: '#d8dc57',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc57;
$custom-light: #e7e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc57",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 61.805,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86649,
    "c": 0.1539,
    "h": 110.8
  },
  "luminance": 0.66473
}

Semantic roles & 50–950 ramp

primary
#D8DC57
secondary
#3D3A9D
accent
#18CD1E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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