#D2E371#D2E371

#D2E371 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.0% C 0.141 H 116.4°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#D2E371
RGBrgb(210, 227, 113)
HSLhsl(69, 67%, 67%)
HSVhsv(69, 50%, 89%)
CMYKcmyk(7.5%, 0%, 50.2%, 11%)
CIE-LABlab(86.91, -21.88, 53.21)
CIE-LCHlch(86.91, 57.53, 112.35°)
OKLaboklab(87.96% -0.0624 0.1259)
OKLCHoklch(87.96% 0.141 116.4)
XYZxyz(57.0288, 69.8327, 26.0944)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E371 #8271E3
analogous
#E3BB71 #D2E371 #99E371
triadic
#D2E371 #71D2E3 #E371D2
tetradic
#D2E371 #71E3BB #8271E3 #E37199
square
#D2E371 #71E3BB #8271E3 #E37199
split-complementary
#D2E371 #7199E3 #BB71E3
monochromatic
#A0B624 #C2D93E #D2E371 #E2EDA4 #F2F7D7

Accessibility & contrast

On white

1.40
#D2E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#D2E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E371
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E371#FFFFFF#000000##000000
##D2E3711.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D967
Deuteranopia (green-blind)
#EFDB77
Tritanopia (blue-blind)
#DDD8C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e371;
/* rgb */ color: rgb(210, 227, 113);
/* oklch */ color: oklch(88.0% 0.141 116.4);
Tailwind
colors: {
  custom: {
    50: '#e2eb9c',
    500: '#d2e371',
    950: '#000000',
  },
}
SCSS
$custom: #d2e371;
$custom-light: #e2eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e371",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 68.947,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8796,
    "c": 0.14051,
    "h": 116.4
  },
  "luminance": 0.69832
}

Semantic roles & 50–950 ramp

primary
#D2E371
secondary
#5342B6
accent
#17CF32
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E371

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

Preview Lab → · Contrast checker → · Palette generator →

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