#D2E548#D2E548

#D2E548 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.0% C 0.176 H 116.1°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#D2E548
RGBrgb(210, 229, 72)
HSLhsl(67, 75%, 59%)
HSVhsv(67, 69%, 90%)
CMYKcmyk(8.3%, 0%, 68.6%, 10.2%)
CIE-LABlab(87.10, -25.80, 70.61)
CIE-LCHlch(87.10, 75.17, 110.08°)
OKLaboklab(87.99% -0.0774 0.1579)
OKLCHoklch(87.99% 0.176 116.1)
XYZxyz(55.7687, 70.2089, 16.7435)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2E548 #5B48E5
analogous
#E5AA48 #D2E548 #84E548
triadic
#D2E548 #48D2E5 #E548D2
tetradic
#D2E548 #48E5AA #5B48E5 #E54884
square
#D2E548 #48E5AA #5B48E5 #E54884
split-complementary
#D2E548 #4884E5 #AA48E5
monochromatic
#8C9C16 #BCD21E #D2E548 #DFED7E #ECF4B3

Accessibility & contrast

On white

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

On black

15.04
#D2E548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2E548
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2E548#FFFFFF#000000##000000
##D2E5481.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2e548;
/* rgb */ color: rgb(210, 229, 72);
/* oklch */ color: oklch(88.0% 0.176 116.1);
Tailwind
colors: {
  custom: {
    50: '#e3ed84',
    500: '#d2e548',
    950: '#000000',
  },
}
SCSS
$custom: #d2e548;
$custom-light: #e3ed84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2e548",
  "rgb": {
    "r": 210,
    "g": 229,
    "b": 72
  },
  "hsl": {
    "h": 67.261,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87993,
    "c": 0.17588,
    "h": 116.1
  },
  "luminance": 0.70208
}

Semantic roles & 50–950 ramp

primary
#D2E548
secondary
#3F32A0
accent
#36F24D
background
#FEFEFC
surface
#FDFDF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2E548

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

Preview Lab → · Contrast checker → · Palette generator →

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