#D2E248#D2E248

#D2E248 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.3% C 0.173 H 115.2°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#D2E248
RGBrgb(210, 226, 72)
HSLhsl(66, 73%, 58%)
HSVhsv(66, 68%, 89%)
CMYKcmyk(7.1%, 0%, 68.1%, 11.4%)
CIE-LABlab(86.29, -24.37, 69.80)
CIE-LCHlch(86.29, 73.93, 109.25°)
OKLaboklab(87.34% -0.0734 0.1562)
OKLCHoklch(87.34% 0.173 115.2)
XYZxyz(54.9458, 68.5631, 16.4692)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E248 #5848E2
analogous
#E2A548 #D2E248 #85E248
triadic
#D2E248 #48D2E2 #E248D2
tetradic
#D2E248 #48E2A5 #5848E2 #E24885
square
#D2E248 #48E2A5 #5848E2 #E24885
split-complementary
#D2E248 #4885E2 #A548E2
monochromatic
#8A9818 #BBCC20 #D2E248 #DFEA7D #ECF3B2

Accessibility & contrast

On white

1.43
#D2E248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#D2E248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E248
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E248#FFFFFF#000000##000000
##D2E2481.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D730
Deuteranopia (green-blind)
#F1D954
Tritanopia (blue-blind)
#DFD5C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2e248;
/* rgb */ color: rgb(210, 226, 72);
/* oklch */ color: oklch(87.3% 0.173 115.2);
Tailwind
colors: {
  custom: {
    50: '#e3eb84',
    500: '#d2e248',
    950: '#000000',
  },
}
SCSS
$custom: #d2e248;
$custom-light: #e3eb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e248",
  "rgb": {
    "r": 210,
    "g": 226,
    "b": 72
  },
  "hsl": {
    "h": 66.234,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87342,
    "c": 0.17262,
    "h": 115.2
  },
  "luminance": 0.68562
}

Semantic roles & 50–950 ramp

primary
#D2E248
secondary
#3E339C
accent
#38EF4B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2E248

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

Preview Lab → · Contrast checker → · Palette generator →

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