#D8DD57#D8DD57

#D8DD57 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.155 H 111.2°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#D8DD57
RGBrgb(216, 221, 87)
HSLhsl(62, 66%, 60%)
HSVhsv(62, 61%, 87%)
CMYKcmyk(2.3%, 0%, 60.6%, 13.3%)
CIE-LABlab(85.50, -18.61, 63.24)
CIE-LCHlch(85.50, 65.92, 106.40°)
OKLaboklab(86.86% -0.0561 0.1444)
OKLCHoklch(86.86% 0.155 111.2)
XYZxyz(55.8972, 67.0013, 19.0030)
Luminance0.6700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD57 #5C57DD
analogous
#DD9F57 #D8DD57 #95DD57
triadic
#D8DD57 #57D8DD #DD57D8
tetradic
#D8DD57 #57DD9F #5C57DD #DD5795
square
#D8DD57 #57DD9F #5C57DD #DD5795
split-complementary
#D8DD57 #5795DD #9F57DD
monochromatic
#969A1F #C7CD2A #D8DD57 #E4E78A #F0F2BD

Accessibility & contrast

On white

1.46
#D8DD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#D8DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD57
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD57#FFFFFF#000000##000000
##D8DD571.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#EED75F
Tritanopia (blue-blind)
#E6D0C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8dd57;
/* rgb */ color: rgb(216, 221, 87);
/* oklch */ color: oklch(86.9% 0.155 111.2);
Tailwind
colors: {
  custom: {
    50: '#e7e78c',
    500: '#d8dd57',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd57;
$custom-light: #e7e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd57",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 62.239,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86862,
    "c": 0.15497,
    "h": 111.2
  },
  "luminance": 0.67
}

Semantic roles & 50–950 ramp

primary
#D8DD57
secondary
#3E3A9E
accent
#17CE1E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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