#D2EC54#D2EC54

#D2EC54 is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.6% C 0.176 H 118.4°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#D2EC54
RGBrgb(210, 236, 84)
HSLhsl(70, 80%, 63%)
HSVhsv(70, 64%, 93%)
CMYKcmyk(11%, 0%, 64.4%, 7.5%)
CIE-LABlab(89.08, -28.41, 68.11)
CIE-LCHlch(89.08, 73.80, 112.64°)
OKLaboklab(89.61% -0.0835 0.1545)
OKLCHoklch(89.61% 0.176 118.4)
XYZxyz(58.1751, 74.3331, 19.6688)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC54 #6E54EC
analogous
#ECBA54 #D2EC54 #86EC54
triadic
#D2EC54 #54D2EC #EC54D2
tetradic
#D2EC54 #54ECBA #6E54EC #EC5486
square
#D2EC54 #54ECBA #6E54EC #EC5486
split-complementary
#D2EC54 #5486EC #BA54EC
monochromatic
#97B214 #C4E61D #D2EC54 #E0F28B #EFF8C2

Accessibility & contrast

On white

1.32
#D2EC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#D2EC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC54
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC54#FFFFFF#000000##000000
##D2EC541.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03F
Deuteranopia (green-blind)
#F8E05F
Tritanopia (blue-blind)
#DEE0CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec54;
/* rgb */ color: rgb(210, 236, 84);
/* oklch */ color: oklch(89.6% 0.176 118.4);
Tailwind
colors: {
  custom: {
    50: '#e3f28b',
    500: '#d2ec54',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec54;
$custom-light: #e3f28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec54",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 70.263,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8961,
    "c": 0.1756,
    "h": 118.4
  },
  "luminance": 0.74333
}

Semantic roles & 50–950 ramp

primary
#D2EC54
secondary
#4832B2
accent
#09DC2D
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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