#D7DC56#D7DC56

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

Color values

HEX#D7DC56
RGBrgb(215, 220, 86)
HSLhsl(62, 66%, 60%)
HSVhsv(62, 61%, 86%)
CMYKcmyk(2.3%, 0%, 60.9%, 13.7%)
CIE-LABlab(85.15, -18.59, 63.25)
CIE-LCHlch(85.15, 65.93, 106.38°)
OKLaboklab(86.56% -0.0561 0.1444)
OKLCHoklch(86.56% 0.155 111.2)
XYZxyz(55.2988, 66.3067, 18.6877)
Luminance0.6631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC56 #5B56DC
analogous
#DC9E56 #D7DC56 #94DC56
triadic
#D7DC56 #56D7DC #DC56D7
tetradic
#D7DC56 #56DC9E #5B56DC #DC5694
square
#D7DC56 #56DC9E #5B56DC #DC5694
split-complementary
#D7DC56 #5694DC #9E56DC
monochromatic
#949820 #C5CB2A #D7DC56 #E3E689 #EFF1BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7DC56#FFFFFF#000000##000000
##D7DC561.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)
#ECD346
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#E5CFC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc56;
/* rgb */ color: rgb(215, 220, 86);
/* oklch */ color: oklch(86.6% 0.155 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e68b',
    500: '#d7dc56',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc56;
$custom-light: #e6e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc56",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 62.239,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.86559,
    "c": 0.15489,
    "h": 111.2
  },
  "luminance": 0.66305
}

Semantic roles & 50–950 ramp

primary
#D7DC56
secondary
#3E3A9C
accent
#3FE945
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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