#D2EC51#D2EC51

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

Color values

HEX#D2EC51
RGBrgb(210, 236, 81)
HSLhsl(70, 80%, 62%)
HSVhsv(70, 66%, 93%)
CMYKcmyk(11%, 0%, 65.7%, 7.5%)
CIE-LABlab(89.06, -28.59, 69.25)
CIE-LCHlch(89.06, 74.92, 112.43°)
OKLaboklab(89.59% -0.0843 0.1564)
OKLCHoklch(89.59% 0.178 118.3)
XYZxyz(58.0601, 74.2871, 19.0632)
Luminance0.7429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC51 #6B51EC
analogous
#ECB951 #D2EC51 #84EC51
triadic
#D2EC51 #51D2EC #EC51D2
tetradic
#D2EC51 #51ECB9 #6B51EC #EC5184
square
#D2EC51 #51ECB9 #6B51EC #EC5184
split-complementary
#D2EC51 #5184EC #B951EC
monochromatic
#95AF13 #C4E61A #D2EC51 #E0F288 #EFF8BF

Accessibility & contrast

On white

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

On black

15.86
#D2EC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC51
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC51#FFFFFF#000000##000000
##D2EC511.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ec51;
/* rgb */ color: rgb(210, 236, 81);
/* oklch */ color: oklch(89.6% 0.178 118.3);
Tailwind
colors: {
  custom: {
    50: '#e3f28a',
    500: '#d2ec51',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec51;
$custom-light: #e3f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec51",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 70.065,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89586,
    "c": 0.17771,
    "h": 118.3
  },
  "luminance": 0.74287
}

Semantic roles & 50–950 ramp

primary
#D2EC51
secondary
#4731B0
accent
#09DD2C
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D2EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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