#D7DC57#D7DC57

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

Color values

HEX#D7DC57
RGBrgb(215, 220, 87)
HSLhsl(62, 66%, 60%)
HSVhsv(62, 60%, 86%)
CMYKcmyk(2.3%, 0%, 60.5%, 13.7%)
CIE-LABlab(85.16, -18.53, 62.85)
CIE-LCHlch(85.16, 65.52, 106.42°)
OKLaboklab(86.57% -0.0558 0.1436)
OKLCHoklch(86.57% 0.154 111.2)
XYZxyz(55.3394, 66.3229, 18.9014)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC57 #5C57DC
analogous
#DC9F57 #D7DC57 #94DC57
triadic
#D7DC57 #57D7DC #DC57D7
tetradic
#D7DC57 #57DC9F #5C57DC #DC5794
square
#D7DC57 #57DC9F #5C57DC #DC5794
split-complementary
#D7DC57 #5794DC #9F57DC
monochromatic
#949920 #C5CB2A #D7DC57 #E3E78A #EFF1BC

Accessibility & contrast

On white

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

On black

14.26
#D7DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC57
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC57#FFFFFF#000000##000000
##D7DC571.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7dc57;
/* rgb */ color: rgb(215, 220, 87);
/* oklch */ color: oklch(86.6% 0.154 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e68c',
    500: '#d7dc57',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc57;
$custom-light: #e6e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc57",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 62.256,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86568,
    "c": 0.1541,
    "h": 111.2
  },
  "luminance": 0.66322
}

Semantic roles & 50–950 ramp

primary
#D7DC57
secondary
#3E3A9D
accent
#18CD1F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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