#D2E848#D2E848

#D2E848 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 88.6% C 0.179 H 117.0°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#D2E848
RGBrgb(210, 232, 72)
HSLhsl(68, 78%, 60%)
HSVhsv(68, 69%, 91%)
CMYKcmyk(9.5%, 0%, 69%, 9%)
CIE-LABlab(87.91, -27.23, 71.42)
CIE-LCHlch(87.91, 76.43, 110.87°)
OKLaboklab(88.65% -0.0814 0.1596)
OKLCHoklch(88.65% 0.179 117)
XYZxyz(56.6060, 71.8834, 17.0225)
Luminance0.7188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E848 #5E48E8
analogous
#E8AE48 #D2E848 #82E848
triadic
#D2E848 #48D2E8 #E848D2
tetradic
#D2E848 #48E8AE #5E48E8 #E84882
square
#D2E848 #48E8AE #5E48E8 #E84882
split-complementary
#D2E848 #4882E8 #AE48E8
monochromatic
#8EA114 #BED81B #D2E848 #DFEF7E #EDF6B5

Accessibility & contrast

On white

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

On black

15.38
#D2E848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E848
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E848#FFFFFF#000000##000000
##D2E8481.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC2E
Deuteranopia (green-blind)
#F5DD55
Tritanopia (blue-blind)
#DFDBC8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #d2e848;
/* rgb */ color: rgb(210, 232, 72);
/* oklch */ color: oklch(88.6% 0.179 117.0);
Tailwind
colors: {
  custom: {
    50: '#e3ef84',
    500: '#d2e848',
    950: '#000000',
  },
}
SCSS
$custom: #d2e848;
$custom-light: #e3ef84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e848",
  "rgb": {
    "r": 210,
    "g": 232,
    "b": 72
  },
  "hsl": {
    "h": 68.25,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.88646,
    "c": 0.17917,
    "h": 117
  },
  "luminance": 0.71883
}

Semantic roles & 50–950 ramp

primary
#D2E848
secondary
#4030A4
accent
#34F44E
background
#FEFFFC
surface
#FDFEF3
border
#D5D6CD
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2E848

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

Preview Lab → · Contrast checker → · Palette generator →

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