#D2D571#D2D571

#D2D571 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.0% C 0.124 H 110.3°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D2D571
RGBrgb(210, 213, 113)
HSLhsl(62, 54%, 64%)
HSVhsv(62, 47%, 84%)
CMYKcmyk(1.4%, 0%, 46.9%, 16.5%)
CIE-LABlab(83.17, -15.00, 48.73)
CIE-LCHlch(83.17, 50.98, 107.11°)
OKLaboklab(84.97% -0.0429 0.1161)
OKLCHoklch(84.97% 0.124 110.3)
XYZxyz(53.3542, 62.4835, 24.8695)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D571 #7471D5
analogous
#D5A671 #D2D571 #A0D571
triadic
#D2D571 #71D2D5 #D571D2
tetradic
#D2D571 #71D5A6 #7471D5 #D571A0
square
#D2D571 #71D5A6 #7471D5 #D571A0
split-complementary
#D2D571 #71A0D5 #A671D5
monochromatic
#9A9D2E #C3C742 #D2D571 #E1E3A0 #F0F1CF

Accessibility & contrast

On white

1.56
#D2D571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D2D571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D571
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D571#FFFFFF#000000##000000
##D2D5711.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD68
Deuteranopia (green-blind)
#E3D176
Tritanopia (blue-blind)
#DECABE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d571;
/* rgb */ color: rgb(210, 213, 113);
/* oklch */ color: oklch(85.0% 0.124 110.3);
Tailwind
colors: {
  custom: {
    50: '#e1e19c',
    500: '#d2d571',
    950: '#000000',
  },
}
SCSS
$custom: #d2d571;
$custom-light: #e1e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d571",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 113
  },
  "hsl": {
    "h": 61.8,
    "s": 54.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84969,
    "c": 0.12373,
    "h": 110.3
  },
  "luminance": 0.62482
}

Semantic roles & 50–950 ramp

primary
#D2D571
secondary
#4B49A2
accent
#24C228
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D571

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

Preview Lab → · Contrast checker → · Palette generator →

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