#D7DC55#D7DC55

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

Color values

HEX#D7DC55
RGBrgb(215, 220, 85)
HSLhsl(62, 66%, 60%)
HSVhsv(62, 61%, 86%)
CMYKcmyk(2.3%, 0%, 61.4%, 13.7%)
CIE-LABlab(85.14, -18.66, 63.66)
CIE-LCHlch(85.14, 66.34, 106.34°)
OKLaboklab(86.55% -0.0564 0.1451)
OKLCHoklch(86.55% 0.156 111.3)
XYZxyz(55.2588, 66.2907, 18.4770)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC55 #5A55DC
analogous
#DC9D55 #D7DC55 #94DC55
triadic
#D7DC55 #55D7DC #DC55D7
tetradic
#D7DC55 #55DC9D #5A55DC #DC5594
square
#D7DC55 #55DC9D #5A55DC #DC5594
split-complementary
#D7DC55 #5594DC #9D55DC
monochromatic
#93971F #C4CA2A #D7DC55 #E3E688 #EFF1BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7DC55#FFFFFF#000000##000000
##D7DC551.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)
#ECD344
Deuteranopia (green-blind)
#EDD65E
Tritanopia (blue-blind)
#E5CFC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc55;
/* rgb */ color: rgb(215, 220, 85);
/* oklch */ color: oklch(86.6% 0.156 111.3);
Tailwind
colors: {
  custom: {
    50: '#e6e68b',
    500: '#d7dc55',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc55;
$custom-light: #e6e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc55",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 85
  },
  "hsl": {
    "h": 62.222,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8655,
    "c": 0.15566,
    "h": 111.3
  },
  "luminance": 0.66289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7DC55

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

Preview Lab → · Contrast checker → · Palette generator →

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