#D8D571#D8D571

#D8D571 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.5% C 0.123 H 107.2°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D8D571
RGBrgb(216, 213, 113)
HSLhsl(58, 57%, 65%)
HSVhsv(58, 48%, 85%)
CMYKcmyk(0%, 1.4%, 47.7%, 15.3%)
CIE-LABlab(83.64, -12.60, 49.41)
CIE-LCHlch(83.64, 50.99, 104.30°)
OKLaboklab(85.46% -0.0364 0.1175)
OKLCHoklch(85.46% 0.123 107.2)
XYZxyz(55.0950, 63.3811, 24.9511)
Luminance0.6338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D571 #7174D8
analogous
#D8A171 #D8D571 #A8D871
triadic
#D8D571 #71D8D5 #D571D8
tetradic
#D8D571 #71D8A1 #7174D8 #D871A8
square
#D8D571 #71D8A1 #7174D8 #D871A8
split-complementary
#D8D571 #71A8D8 #A171D8
monochromatic
#A29F2D #CBC741 #D8D571 #E5E3A1 #F2F1D1

Accessibility & contrast

On white

1.54
#D8D571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#D8D571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D571
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D571#FFFFFF#000000##000000
##D8D5711.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE68
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#E5CABE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d571;
/* rgb */ color: rgb(216, 213, 113);
/* oklch */ color: oklch(85.5% 0.123 107.2);
Tailwind
colors: {
  custom: {
    50: '#e6e19c',
    500: '#d8d571',
    950: '#000000',
  },
}
SCSS
$custom: #d8d571;
$custom-light: #e6e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d571",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 58.252,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85461,
    "c": 0.12297,
    "h": 107.2
  },
  "luminance": 0.6338
}

Semantic roles & 50–950 ramp

primary
#D8D571
secondary
#474AA6
accent
#26C421
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D571

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

Preview Lab → · Contrast checker → · Palette generator →

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