#D2EC8D#D2EC8D

#D2EC8D is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 90.3% C 0.123 H 121.4°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#D2EC8D
RGBrgb(210, 236, 141)
HSLhsl(76, 71%, 74%)
HSVhsv(76, 40%, 93%)
CMYKcmyk(11%, 0%, 40.3%, 7.5%)
CIE-LABlab(89.68, -23.33, 43.20)
CIE-LCHlch(89.68, 49.10, 118.37°)
OKLaboklab(90.29% -0.0644 0.1054)
OKLCHoklch(90.29% 0.123 121.4)
XYZxyz(61.3815, 75.6157, 36.5557)
Luminance0.7562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC8D #A78DEC
analogous
#ECD78D #D2EC8D #A3EC8D
triadic
#D2EC8D #8DD2EC #EC8DD2
tetradic
#D2EC8D #8DECD7 #A78DEC #EC8DA3
square
#D2EC8D #8DECD7 #A78DEC #EC8DA3
split-complementary
#D2EC8D #8DA3EC #D78DEC
monochromatic
#A8DA24 #BDE359 #D2EC8D #E7F5C1 #F5FBE5

Accessibility & contrast

On white

1.30
#D2EC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#D2EC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC8D
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC8D#FFFFFF#000000##000000
##D2EC8D1.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E286
Deuteranopia (green-blind)
#F3E292
Tritanopia (blue-blind)
#D9E3D5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d2ec8d;
/* rgb */ color: rgb(210, 236, 141);
/* oklch */ color: oklch(90.3% 0.123 121.4);
Tailwind
colors: {
  custom: {
    50: '#e1f2af',
    500: '#d2ec8d',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec8d;
$custom-light: #e1f2af;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec8d",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 141
  },
  "hsl": {
    "h": 76.421,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90287,
    "c": 0.12349,
    "h": 121.4
  },
  "luminance": 0.75616
}

Semantic roles & 50–950 ramp

primary
#D2EC8D
secondary
#7556C7
accent
#12D347
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D2EC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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