#D2EC7E#D2EC7E

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

Color values

HEX#D2EC7E
RGBrgb(210, 236, 126)
HSLhsl(74, 74%, 71%)
HSVhsv(74, 47%, 93%)
CMYKcmyk(11%, 0%, 46.6%, 7.5%)
CIE-LABlab(89.49, -24.96, 50.20)
CIE-LCHlch(89.49, 56.06, 116.43°)
OKLaboklab(90.07% -0.07 0.1203)
OKLCHoklch(90.07% 0.139 120.2)
XYZxyz(60.3400, 75.1991, 31.0707)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC7E #987EEC
analogous
#ECCF7E #D2EC7E #9BEC7E
triadic
#D2EC7E #7ED2EC #EC7ED2
tetradic
#D2EC7E #7EECCF #987EEC #EC7E9B
square
#D2EC7E #7EECCF #987EEC #EC7E9B
split-complementary
#D2EC7E #7E9BEC #CF7EEC
monochromatic
#A7D11F #BFE449 #D2EC7E #E5F4B3 #F6FBE4

Accessibility & contrast

On white

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

On black

16.04
#D2EC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC7E
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC7E#FFFFFF#000000##000000
##D2EC7E1.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ec7e;
/* rgb */ color: rgb(210, 236, 126);
/* oklch */ color: oklch(90.1% 0.139 120.2);
Tailwind
colors: {
  custom: {
    50: '#e1f2a5',
    500: '#d2ec7e',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec7e;
$custom-light: #e1f2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec7e",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 126
  },
  "hsl": {
    "h": 74.182,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90068,
    "c": 0.13915,
    "h": 120.2
  },
  "luminance": 0.75199
}

Semantic roles & 50–950 ramp

primary
#D2EC7E
secondary
#6649C5
accent
#0FD63E
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #D2EC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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