#D7DC8D#D7DC8D

#D7DC8D is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.3% C 0.101 H 111.4°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#D7DC8D
RGBrgb(215, 220, 141)
HSLhsl(64, 53%, 71%)
HSVhsv(64, 36%, 86%)
CMYKcmyk(2.3%, 0%, 35.9%, 13.7%)
CIE-LABlab(85.78, -13.59, 38.28)
CIE-LCHlch(85.78, 40.63, 109.55°)
OKLaboklab(87.27% -0.0369 0.0941)
OKLCHoklch(87.27% 0.101 111.4)
XYZxyz(58.4257, 67.5574, 35.1562)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC8D #928DDC
analogous
#DCB98D #D7DC8D #AFDC8D
triadic
#D7DC8D #8DD7DC #DC8DD7
tetradic
#D7DC8D #8DDCB9 #928DDC #DC8DAF
square
#D7DC8D #8DDCB9 #928DDC #DC8DAF
split-complementary
#D7DC8D #8DAFDC #B98DDC
monochromatic
#AFB738 #C7CE5E #D7DC8D #E7EABC #F7F8E8

Accessibility & contrast

On white

1.45
#D7DC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#D7DC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC8D
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC8D#FFFFFF#000000##000000
##D7DC8D1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D587
Deuteranopia (green-blind)
#E8D890
Tritanopia (blue-blind)
#E1D3C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7dc8d;
/* rgb */ color: rgb(215, 220, 141);
/* oklch */ color: oklch(87.3% 0.101 111.4);
Tailwind
colors: {
  custom: {
    50: '#e4e6af',
    500: '#d7dc8d',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc8d;
$custom-light: #e4e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc8d",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 141
  },
  "hsl": {
    "h": 63.797,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87267,
    "c": 0.10107,
    "h": 111.4
  },
  "luminance": 0.67557
}

Semantic roles & 50–950 ramp

primary
#D7DC8D
secondary
#605AB3
accent
#25C02F
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D7DC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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