#D9DC57#D9DC57

#D9DC57 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.7% C 0.154 H 110.4°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#D9DC57
RGBrgb(217, 220, 87)
HSLhsl(61, 66%, 60%)
HSVhsv(61, 60%, 86%)
CMYKcmyk(1.4%, 0%, 60.5%, 13.7%)
CIE-LABlab(85.32, -17.71, 63.06)
CIE-LCHlch(85.32, 65.50, 105.69°)
OKLaboklab(86.73% -0.0537 0.144)
OKLCHoklch(86.73% 0.154 110.4)
XYZxyz(55.9304, 66.6276, 18.9291)
Luminance0.6663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC57 #5A57DC
analogous
#DC9C57 #D9DC57 #97DC57
triadic
#D9DC57 #57D9DC #DC57D9
tetradic
#D9DC57 #57DC9C #5A57DC #DC5797
square
#D9DC57 #57DC9C #5A57DC #DC5797
split-complementary
#D9DC57 #5797DC #9C57DC
monochromatic
#969920 #C8CB2A #D9DC57 #E4E78A #F0F1BC

Accessibility & contrast

On white

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

On black

14.33
#D9DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC57
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC57#FFFFFF#000000##000000
##D9DC571.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9dc57;
/* rgb */ color: rgb(217, 220, 87);
/* oklch */ color: oklch(86.7% 0.154 110.4);
Tailwind
colors: {
  custom: {
    50: '#e8e68c',
    500: '#d9dc57',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc57;
$custom-light: #e8e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc57",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 61.353,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8673,
    "c": 0.15371,
    "h": 110.4
  },
  "luminance": 0.66626
}

Semantic roles & 50–950 ramp

primary
#D9DC57
secondary
#3C3A9D
accent
#18CD1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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