#D7DC6C#D7DC6C

#D7DC6C is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.136 H 111.2°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#D7DC6C
RGBrgb(215, 220, 108)
HSLhsl(63, 62%, 64%)
HSVhsv(63, 51%, 86%)
CMYKcmyk(2.3%, 0%, 50.9%, 13.7%)
CIE-LABlab(85.36, -16.92, 53.79)
CIE-LCHlch(85.36, 56.39, 107.47°)
OKLaboklab(86.79% -0.0491 0.1266)
OKLCHoklch(86.79% 0.136 111.2)
XYZxyz(56.3255, 66.7173, 24.0951)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC6C #716CDC
analogous
#DCA96C #D7DC6C #9FDC6C
triadic
#D7DC6C #6CD7DC #DC6CD7
tetradic
#D7DC6C #6CDCA9 #716CDC #DC6C9F
square
#D7DC6C #6CDCA9 #716CDC #DC6C9F
split-complementary
#D7DC6C #6C9FDC #A96CDC
monochromatic
#A0A628 #CAD03B #D7DC6C #E4E89D #F2F4CF

Accessibility & contrast

On white

1.46
#D7DC6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#D7DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC6C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC6C#FFFFFF#000000##000000
##D7DC6C1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD461
Deuteranopia (green-blind)
#EBD772
Tritanopia (blue-blind)
#E3D1C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc6c;
/* rgb */ color: rgb(215, 220, 108);
/* oklch */ color: oklch(86.8% 0.136 111.2);
Tailwind
colors: {
  custom: {
    50: '#e5e699',
    500: '#d7dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc6c;
$custom-light: #e5e699;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc6c",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 62.679,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86792,
    "c": 0.13582,
    "h": 111.2
  },
  "luminance": 0.66716
}

Semantic roles & 50–950 ramp

primary
#D7DC6C
secondary
#4843A9
accent
#1CC924
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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