#D7DC59#D7DC59

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

Color values

HEX#D7DC59
RGBrgb(215, 220, 89)
HSLhsl(62, 65%, 61%)
HSVhsv(62, 60%, 86%)
CMYKcmyk(2.3%, 0%, 59.5%, 13.7%)
CIE-LABlab(85.18, -18.39, 62.02)
CIE-LCHlch(85.18, 64.69, 106.52°)
OKLaboklab(86.59% -0.0552 0.1422)
OKLCHoklch(86.59% 0.153 111.2)
XYZxyz(55.4222, 66.3560, 19.3377)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC59 #5E59DC
analogous
#DC9F59 #D7DC59 #95DC59
triadic
#D7DC59 #59D7DC #DC59D7
tetradic
#D7DC59 #59DC9F #5E59DC #DC5995
square
#D7DC59 #59DC9F #5E59DC #DC5995
split-complementary
#D7DC59 #5995DC #9F59DC
monochromatic
#959A20 #C6CD2B #D7DC59 #E3E78C #EFF1BE

Accessibility & contrast

On white

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

On black

14.27
#D7DC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC59
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC59#FFFFFF#000000##000000
##D7DC591.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34A
Deuteranopia (green-blind)
#ECD761
Tritanopia (blue-blind)
#E5D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc59;
/* rgb */ color: rgb(215, 220, 89);
/* oklch */ color: oklch(86.6% 0.153 111.2);
Tailwind
colors: {
  custom: {
    50: '#e6e68d',
    500: '#d7dc59',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc59;
$custom-light: #e6e68d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc59",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 89
  },
  "hsl": {
    "h": 62.29,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86587,
    "c": 0.15251,
    "h": 111.2
  },
  "luminance": 0.66355
}

Semantic roles & 50–950 ramp

primary
#D7DC59
secondary
#3F3B9E
accent
#18CD1F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D7DC59

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

Preview Lab → · Contrast checker → · Palette generator →

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