#D2ED52#D2ED52

#D2ED52 is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.8% C 0.178 H 118.6°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#D2ED52
RGBrgb(210, 237, 82)
HSLhsl(70, 81%, 63%)
HSVhsv(70, 65%, 93%)
CMYKcmyk(11.4%, 0%, 65.4%, 7.1%)
CIE-LABlab(89.34, -29.00, 69.15)
CIE-LCHlch(89.34, 74.99, 112.75°)
OKLaboklab(89.81% -0.0854 0.1564)
OKLCHoklch(89.81% 0.178 118.6)
XYZxyz(58.3866, 74.8796, 19.3584)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ED52 #6D52ED
analogous
#EDBB52 #D2ED52 #84ED52
triadic
#D2ED52 #52D2ED #ED52D2
tetradic
#D2ED52 #52EDBB #6D52ED #ED5284
square
#D2ED52 #52EDBB #6D52ED #ED5284
split-complementary
#D2ED52 #5284ED #BB52ED
monochromatic
#96B213 #C4E71B #D2ED52 #E0F389 #EFF9C1

Accessibility & contrast

On white

1.31
#D2ED52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#D2ED52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ED52
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ED52#FFFFFF#000000##000000
##D2ED521.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE03C
Deuteranopia (green-blind)
#F9E15D
Tritanopia (blue-blind)
#DEE1CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ed52;
/* rgb */ color: rgb(210, 237, 82);
/* oklch */ color: oklch(89.8% 0.178 118.6);
Tailwind
colors: {
  custom: {
    50: '#e3f28a',
    500: '#d2ed52',
    950: '#000000',
  },
}
SCSS
$custom: #d2ed52;
$custom-light: #e3f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ed52",
  "rgb": {
    "r": 210,
    "g": 237,
    "b": 82
  },
  "hsl": {
    "h": 70.452,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89812,
    "c": 0.17815,
    "h": 118.6
  },
  "luminance": 0.74879
}

Semantic roles & 50–950 ramp

primary
#D2ED52
secondary
#4831B2
accent
#08DE2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #D2ED52

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

Preview Lab → · Contrast checker → · Palette generator →

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