#D2EC7D#D2EC7D

#D2EC7D is a very light, vivid yellow-green. Relative luminance 0.752; OKLCH L 90.1% C 0.140 H 120.1°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#D2EC7D
RGBrgb(210, 236, 125)
HSLhsl(74, 74%, 71%)
HSVhsv(74, 47%, 93%)
CMYKcmyk(11%, 0%, 47%, 7.5%)
CIE-LABlab(89.47, -25.06, 50.66)
CIE-LCHlch(89.47, 56.52, 116.32°)
OKLaboklab(90.05% -0.0704 0.1212)
OKLCHoklch(90.05% 0.14 120.1)
XYZxyz(60.2758, 75.1734, 30.7326)
Luminance0.7517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC7D #977DEC
analogous
#ECCE7D #D2EC7D #9AEC7D
triadic
#D2EC7D #7DD2EC #EC7DD2
tetradic
#D2EC7D #7DECCE #977DEC #EC7D9A
square
#D2EC7D #7DECCE #977DEC #EC7D9A
split-complementary
#D2EC7D #7D9AEC #CE7DEC
monochromatic
#A7D01E #C0E448 #D2EC7D #E4F4B2 #F6FBE4

Accessibility & contrast

On white

1.31
#D2EC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#D2EC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC7D
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC7D#FFFFFF#000000##000000
##D2EC7D1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E173
Deuteranopia (green-blind)
#F5E183
Tritanopia (blue-blind)
#DBE2D2
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d2ec7d;
/* rgb */ color: rgb(210, 236, 125);
/* oklch */ color: oklch(90.1% 0.140 120.1);
Tailwind
colors: {
  custom: {
    50: '#e1f2a5',
    500: '#d2ec7d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec7d;
$custom-light: #e1f2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec7d",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 125
  },
  "hsl": {
    "h": 74.054,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90054,
    "c": 0.14015,
    "h": 120.1
  },
  "luminance": 0.75173
}

Semantic roles & 50–950 ramp

primary
#D2EC7D
secondary
#6548C5
accent
#0FD73E
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2EC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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