#D7DC62#D7DC62

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

Color values

HEX#D7DC62
RGBrgb(215, 220, 98)
HSLhsl(62, 64%, 62%)
HSVhsv(62, 55%, 86%)
CMYKcmyk(2.3%, 0%, 55.5%, 13.7%)
CIE-LABlab(85.26, -17.74, 58.21)
CIE-LCHlch(85.26, 60.85, 106.95°)
OKLaboklab(86.68% -0.0525 0.1351)
OKLCHoklch(86.68% 0.145 111.2)
XYZxyz(55.8235, 66.5165, 21.4512)
Luminance0.6652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC62 #6762DC
analogous
#DCA462 #D7DC62 #9ADC62
triadic
#D7DC62 #62D7DC #DC62D7
tetradic
#D7DC62 #62DCA4 #6762DC #DC629A
square
#D7DC62 #62DCA4 #6762DC #DC629A
split-complementary
#D7DC62 #629ADC #A462DC
monochromatic
#9BA024 #CAD130 #D7DC62 #E4E794 #F1F2C6

Accessibility & contrast

On white

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

On black

14.30
#D7DC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC62
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC62#FFFFFF#000000##000000
##D7DC621.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD355
Deuteranopia (green-blind)
#ECD769
Tritanopia (blue-blind)
#E4D0C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc62;
/* rgb */ color: rgb(215, 220, 98);
/* oklch */ color: oklch(86.7% 0.145 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e693',
    500: '#d7dc62',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc62;
$custom-light: #e6e693;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc62",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 62.459,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86678,
    "c": 0.14495,
    "h": 111.2
  },
  "luminance": 0.66515
}

Semantic roles & 50–950 ramp

primary
#D7DC62
secondary
#433FA3
accent
#1ACB21
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DC62

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

Preview Lab → · Contrast checker → · Palette generator →

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