#D8DC71#D8DC71

#D8DC71 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.131 H 110.7°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#D8DC71
RGBrgb(216, 220, 113)
HSLhsl(62, 60%, 65%)
HSVhsv(62, 49%, 86%)
CMYKcmyk(1.8%, 0%, 48.6%, 13.7%)
CIE-LABlab(85.49, -16.09, 51.63)
CIE-LCHlch(85.49, 54.08, 107.31°)
OKLaboklab(86.94% -0.0463 0.1223)
OKLCHoklch(86.94% 0.131 110.7)
XYZxyz(56.8939, 66.9788, 25.5507)
Luminance0.6698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC71 #7571DC
analogous
#DCAA71 #D8DC71 #A2DC71
triadic
#D8DC71 #71D8DC #DC71D8
tetradic
#D8DC71 #71DCAA #7571DC #DC71A2
square
#D8DC71 #71DCAA #7571DC #DC71A2
split-complementary
#D8DC71 #71A2DC #AA71DC
monochromatic
#A4A92A #CBD040 #D8DC71 #E5E8A2 #F3F4D3

Accessibility & contrast

On white

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

On black

14.40
#D8DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC71
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC71#FFFFFF#000000##000000
##D8DC711.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD467
Deuteranopia (green-blind)
#EBD776
Tritanopia (blue-blind)
#E4D1C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8dc71;
/* rgb */ color: rgb(216, 220, 113);
/* oklch */ color: oklch(86.9% 0.131 110.7);
Tailwind
colors: {
  custom: {
    50: '#e6e69c',
    500: '#d8dc71',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc71;
$custom-light: #e6e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc71",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 62.243,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86935,
    "c": 0.13081,
    "h": 110.7
  },
  "luminance": 0.66978
}

Semantic roles & 50–950 ramp

primary
#D8DC71
secondary
#4946AC
accent
#1DC824
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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