#D2EC56#D2EC56

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

Color values

HEX#D2EC56
RGBrgb(210, 236, 86)
HSLhsl(70, 80%, 63%)
HSVhsv(70, 64%, 93%)
CMYKcmyk(11%, 0%, 63.6%, 7.5%)
CIE-LABlab(89.09, -28.28, 67.34)
CIE-LCHlch(89.09, 73.04, 112.78°)
OKLaboklab(89.63% -0.083 0.1531)
OKLCHoklch(89.63% 0.174 118.5)
XYZxyz(58.2546, 74.3649, 20.0873)
Luminance0.7436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC56 #7056EC
analogous
#ECBB56 #D2EC56 #87EC56
triadic
#D2EC56 #56D2EC #EC56D2
tetradic
#D2EC56 #56ECBB #7056EC #EC5687
square
#D2EC56 #56ECBB #7056EC #EC5687
split-complementary
#D2EC56 #5687EC #BB56EC
monochromatic
#98B314 #C3E61F #D2EC56 #E1F28D #EFF8C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2EC56#FFFFFF#000000##000000
##D2EC561.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)
#FBE042
Deuteranopia (green-blind)
#F8E061
Tritanopia (blue-blind)
#DEE0CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec56;
/* rgb */ color: rgb(210, 236, 86);
/* oklch */ color: oklch(89.6% 0.174 118.5);
Tailwind
colors: {
  custom: {
    50: '#e3f28c',
    500: '#d2ec56',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec56;
$custom-light: #e3f28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec56",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 70.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89627,
    "c": 0.17416,
    "h": 118.5
  },
  "luminance": 0.74364
}

Semantic roles & 50–950 ramp

primary
#D2EC56
secondary
#4933B3
accent
#09DC2E
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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