#D2E372#D2E372

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

Color values

HEX#D2E372
RGBrgb(210, 227, 114)
HSLhsl(69, 67%, 67%)
HSVhsv(69, 50%, 89%)
CMYKcmyk(7.5%, 0%, 49.8%, 11%)
CIE-LABlab(86.93, -21.79, 52.76)
CIE-LCHlch(86.93, 57.08, 112.44°)
OKLaboklab(87.97% -0.0621 0.125)
OKLCHoklch(87.97% 0.14 116.4)
XYZxyz(57.0854, 69.8553, 26.3925)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E372 #8372E3
analogous
#E3BC72 #D2E372 #99E372
triadic
#D2E372 #72D2E3 #E372D2
tetradic
#D2E372 #72E3BC #8372E3 #E37299
square
#D2E372 #72E3BC #8372E3 #E37299
split-complementary
#D2E372 #7299E3 #BC72E3
monochromatic
#A0B624 #C2D93F #D2E372 #E2EDA5 #F3F7D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2E372#FFFFFF#000000##000000
##D2E3721.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)
#F0D968
Deuteranopia (green-blind)
#EFDB78
Tritanopia (blue-blind)
#DDD8C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e372;
/* rgb */ color: rgb(210, 227, 114);
/* oklch */ color: oklch(88.0% 0.140 116.4);
Tailwind
colors: {
  custom: {
    50: '#e2eb9d',
    500: '#d2e372',
    950: '#000000',
  },
}
SCSS
$custom: #d2e372;
$custom-light: #e2eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e372",
  "rgb": {
    "r": 210,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 69.027,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87972,
    "c": 0.13955,
    "h": 116.4
  },
  "luminance": 0.69855
}

Semantic roles & 50–950 ramp

primary
#D2E372
secondary
#5442B7
accent
#17CF32
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D2E372

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

Preview Lab → · Contrast checker → · Palette generator →

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