#D8DF71#D8DF71

#D8DF71 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.6% C 0.134 H 112.1°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#D8DF71
RGBrgb(216, 223, 113)
HSLhsl(64, 63%, 66%)
HSVhsv(64, 49%, 87%)
CMYKcmyk(3.1%, 0%, 49.3%, 12.5%)
CIE-LABlab(86.29, -17.57, 52.58)
CIE-LCHlch(86.29, 55.43, 108.47°)
OKLaboklab(87.57% -0.0505 0.1244)
OKLCHoklch(87.57% 0.134 112.1)
XYZxyz(57.6883, 68.5676, 25.8155)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF71 #7871DF
analogous
#DFAF71 #D8DF71 #A1DF71
triadic
#D8DF71 #71D8DF #DF71D8
tetradic
#D8DF71 #71DFAF #7871DF #DF71A1
square
#D8DF71 #71DFAF #7871DF #DF71A1
split-complementary
#D8DF71 #71A1DF #AF71DF
monochromatic
#A6AE27 #CAD43F #D8DF71 #E6EAA3 #F3F6D5

Accessibility & contrast

On white

1.43
#D8DF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#D8DF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF71
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF71#FFFFFF#000000##000000
##D8DF711.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD667
Deuteranopia (green-blind)
#EDD977
Tritanopia (blue-blind)
#E4D4C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8df71;
/* rgb */ color: rgb(216, 223, 113);
/* oklch */ color: oklch(87.6% 0.134 112.1);
Tailwind
colors: {
  custom: {
    50: '#e6e89c',
    500: '#d8df71',
    950: '#000000',
  },
}
SCSS
$custom: #d8df71;
$custom-light: #e6e89c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df71",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 113
  },
  "hsl": {
    "h": 63.818,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8757,
    "c": 0.13428,
    "h": 112.1
  },
  "luminance": 0.68567
}

Semantic roles & 50–950 ramp

primary
#D8DF71
secondary
#4B44B0
accent
#1BCB26
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D8DF71

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

Preview Lab → · Contrast checker → · Palette generator →

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