#D7DC66#D7DC66

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

Color values

HEX#D7DC66
RGBrgb(215, 220, 102)
HSLhsl(63, 63%, 63%)
HSVhsv(63, 54%, 86%)
CMYKcmyk(2.3%, 0%, 53.6%, 13.7%)
CIE-LABlab(85.30, -17.42, 56.46)
CIE-LCHlch(85.30, 59.09, 107.15°)
OKLaboklab(86.72% -0.0512 0.1318)
OKLCHoklch(86.72% 0.141 111.2)
XYZxyz(56.0171, 66.5940, 22.4708)
Luminance0.6659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC66 #6B66DC
analogous
#DCA666 #D7DC66 #9CDC66
triadic
#D7DC66 #66D7DC #DC66D7
tetradic
#D7DC66 #66DCA6 #6B66DC #DC669C
square
#D7DC66 #66DCA6 #6B66DC #DC669C
split-complementary
#D7DC66 #669CDC #A666DC
monochromatic
#9DA225 #CAD134 #D7DC66 #E4E798 #F1F3CA

Accessibility & contrast

On white

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

On black

14.32
#D7DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC66
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC66#FFFFFF#000000##000000
##D7DC661.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD35A
Deuteranopia (green-blind)
#ECD76C
Tritanopia (blue-blind)
#E4D0C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc66;
/* rgb */ color: rgb(215, 220, 102);
/* oklch */ color: oklch(86.7% 0.141 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e695',
    500: '#d7dc66',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc66;
$custom-light: #e6e695;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc66",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 62.542,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86722,
    "c": 0.14138,
    "h": 111.2
  },
  "luminance": 0.66593
}

Semantic roles & 50–950 ramp

primary
#D7DC66
secondary
#4541A6
accent
#1BCB22
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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