#D2E752#D2E752

#D2E752 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 88.5% C 0.171 H 116.9°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#D2E752
RGBrgb(210, 231, 82)
HSLhsl(68, 76%, 61%)
HSVhsv(68, 65%, 91%)
CMYKcmyk(9.1%, 0%, 64.5%, 9.4%)
CIE-LABlab(87.71, -26.17, 67.46)
CIE-LCHlch(87.71, 72.36, 111.20°)
OKLaboklab(88.51% -0.0775 0.1528)
OKLCHoklch(88.51% 0.171 116.9)
XYZxyz(56.6784, 71.4633, 18.7890)
Luminance0.7146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E752 #6752E7
analogous
#E7B252 #D2E752 #88E752
triadic
#D2E752 #52D2E7 #E752D2
tetradic
#D2E752 #52E7B2 #6752E7 #E75288
square
#D2E752 #52E7B2 #6752E7 #E75288
split-complementary
#D2E752 #5288E7 #B252E7
monochromatic
#93A717 #C2DD1F #D2E752 #E0EE88 #EEF6BD

Accessibility & contrast

On white

1.37
#D2E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#D2E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E752
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E752#FFFFFF#000000##000000
##D2E7521.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3E
Deuteranopia (green-blind)
#F4DD5D
Tritanopia (blue-blind)
#DEDBC9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e752;
/* rgb */ color: rgb(210, 231, 82);
/* oklch */ color: oklch(88.5% 0.171 116.9);
Tailwind
colors: {
  custom: {
    50: '#e3ee8a',
    500: '#d2e752',
    950: '#000000',
  },
}
SCSS
$custom: #d2e752;
$custom-light: #e3ee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e752",
  "rgb": {
    "r": 210,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 68.456,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88505,
    "c": 0.17133,
    "h": 116.9
  },
  "luminance": 0.71463
}

Semantic roles & 50–950 ramp

primary
#D2E752
secondary
#4534A9
accent
#0ED82A
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2E752

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

Preview Lab → · Contrast checker → · Palette generator →

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