#D2E452#D2E452

#D2E452 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 87.9% C 0.168 H 116.0°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#D2E452
RGBrgb(210, 228, 82)
HSLhsl(67, 73%, 61%)
HSVhsv(67, 64%, 89%)
CMYKcmyk(7.9%, 0%, 64%, 10.6%)
CIE-LABlab(86.90, -24.74, 66.61)
CIE-LCHlch(86.90, 71.06, 110.38°)
OKLaboklab(87.85% -0.0735 0.151)
OKLCHoklch(87.85% 0.168 116)
XYZxyz(55.8460, 69.7984, 18.5115)
Luminance0.6980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E452 #6452E4
analogous
#E4AD52 #D2E452 #89E452
triadic
#D2E452 #52D2E4 #E452D2
tetradic
#D2E452 #52E4AD #6452E4 #E45289
square
#D2E452 #52E4AD #6452E4 #E45289
split-complementary
#D2E452 #5289E4 #AD52E4
monochromatic
#91A219 #C1D722 #D2E452 #E0EC87 #EEF5BC

Accessibility & contrast

On white

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

On black

14.96
#D2E452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E452
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E452#FFFFFF#000000##000000
##D2E4521.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D93E
Deuteranopia (green-blind)
#F2DB5C
Tritanopia (blue-blind)
#DFD8C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d2e452;
/* rgb */ color: rgb(210, 228, 82);
/* oklch */ color: oklch(87.9% 0.168 116.0);
Tailwind
colors: {
  custom: {
    50: '#e3ec89',
    500: '#d2e452',
    950: '#000000',
  },
}
SCSS
$custom: #d2e452;
$custom-light: #e3ec89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e452",
  "rgb": {
    "r": 210,
    "g": 228,
    "b": 82
  },
  "hsl": {
    "h": 67.397,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87854,
    "c": 0.16795,
    "h": 116
  },
  "luminance": 0.69798
}

Semantic roles & 50–950 ramp

primary
#D2E452
secondary
#4335A5
accent
#10D529
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E452

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

Preview Lab → · Contrast checker → · Palette generator →

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