#D2EC57#D2EC57

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

Color values

HEX#D2EC57
RGBrgb(210, 236, 87)
HSLhsl(70, 80%, 63%)
HSVhsv(70, 63%, 93%)
CMYKcmyk(11%, 0%, 63.1%, 7.5%)
CIE-LABlab(89.10, -28.21, 66.95)
CIE-LCHlch(89.10, 72.65, 112.85°)
OKLaboklab(89.64% -0.0827 0.1524)
OKLCHoklch(89.64% 0.173 118.5)
XYZxyz(58.2951, 74.3811, 20.3010)
Luminance0.7438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC57 #7157EC
analogous
#ECBB57 #D2EC57 #87EC57
triadic
#D2EC57 #57D2EC #EC57D2
tetradic
#D2EC57 #57ECBB #7157EC #EC5787
square
#D2EC57 #57ECBB #7157EC #EC5787
split-complementary
#D2EC57 #5787EC #BB57EC
monochromatic
#98B414 #C3E620 #D2EC57 #E1F28E #EFF8C5

Accessibility & contrast

On white

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

On black

15.88
#D2EC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC57
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC57#FFFFFF#000000##000000
##D2EC571.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ec57;
/* rgb */ color: rgb(210, 236, 87);
/* oklch */ color: oklch(89.6% 0.173 118.5);
Tailwind
colors: {
  custom: {
    50: '#e3f28d',
    500: '#d2ec57',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec57;
$custom-light: #e3f28d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec57",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 70.47,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.89636,
    "c": 0.17342,
    "h": 118.5
  },
  "luminance": 0.74381
}

Semantic roles & 50–950 ramp

primary
#D2EC57
secondary
#4A33B4
accent
#0ADC2E
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EC57

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

Preview Lab → · Contrast checker → · Palette generator →

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