#D2E571#D2E571

#D2E571 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.4% C 0.143 H 117.1°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#D2E571
RGBrgb(210, 229, 113)
HSLhsl(70, 69%, 67%)
HSVhsv(70, 51%, 90%)
CMYKcmyk(8.3%, 0%, 50.7%, 10.2%)
CIE-LABlab(87.45, -22.85, 53.85)
CIE-LCHlch(87.45, 58.49, 112.99°)
OKLaboklab(88.39% -0.0652 0.1273)
OKLCHoklch(88.39% 0.143 117.1)
XYZxyz(57.5790, 70.9331, 26.2778)
Luminance0.7093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E571 #8471E5
analogous
#E5BE71 #D2E571 #98E571
triadic
#D2E571 #71D2E5 #E571D2
tetradic
#D2E571 #71E5BE #8471E5 #E57198
square
#D2E571 #71E5BE #8471E5 #E57198
split-complementary
#D2E571 #7198E5 #BE71E5
monochromatic
#A1BA22 #C2DC3D #D2E571 #E2EEA5 #F3F8D8

Accessibility & contrast

On white

1.38
#D2E571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#D2E571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E571
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E571#FFFFFF#000000##000000
##D2E5711.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB66
Deuteranopia (green-blind)
#F0DC77
Tritanopia (blue-blind)
#DDDACB
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d2e571;
/* rgb */ color: rgb(210, 229, 113);
/* oklch */ color: oklch(88.4% 0.143 117.1);
Tailwind
colors: {
  custom: {
    50: '#e2ed9d',
    500: '#d2e571',
    950: '#000000',
  },
}
SCSS
$custom: #d2e571;
$custom-light: #e2ed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e571",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 113
  },
  "hsl": {
    "h": 69.828,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8839,
    "c": 0.14298,
    "h": 117.1
  },
  "luminance": 0.70933
}

Semantic roles & 50–950 ramp

primary
#D2E571
secondary
#5441BA
accent
#14D133
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E571

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

Preview Lab → · Contrast checker → · Palette generator →

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