#D2EC8A#D2EC8A

#D2EC8A is a very light, vivid yellow-green. Relative luminance 0.755; OKLCH L 90.2% C 0.127 H 121.1°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#D2EC8A
RGBrgb(210, 236, 138)
HSLhsl(76, 72%, 73%)
HSVhsv(76, 42%, 93%)
CMYKcmyk(11%, 0%, 41.5%, 7.5%)
CIE-LABlab(89.64, -23.68, 44.62)
CIE-LCHlch(89.64, 50.51, 117.95°)
OKLaboklab(90.24% -0.0655 0.1085)
OKLCHoklch(90.24% 0.127 121.1)
XYZxyz(61.1613, 75.5276, 35.3960)
Luminance0.7553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC8A #A48AEC
analogous
#ECD58A #D2EC8A #A1EC8A
triadic
#D2EC8A #8AD2EC #EC8AD2
tetradic
#D2EC8A #8AECD5 #A48AEC #EC8AA1
square
#D2EC8A #8AECD5 #A48AEC #EC8AA1
split-complementary
#D2EC8A #8AA1EC #D58AEC
monochromatic
#A8D823 #BEE355 #D2EC8A #E6F5BF #F5FBE5

Accessibility & contrast

On white

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

On black

16.11
#D2EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC8A
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC8A#FFFFFF#000000##000000
##D2EC8A1.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E282
Deuteranopia (green-blind)
#F4E18F
Tritanopia (blue-blind)
#DAE3D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d2ec8a;
/* rgb */ color: rgb(210, 236, 138);
/* oklch */ color: oklch(90.2% 0.127 121.1);
Tailwind
colors: {
  custom: {
    50: '#e1f2ad',
    500: '#d2ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec8a;
$custom-light: #e1f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec8a",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 75.918,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9024,
    "c": 0.12671,
    "h": 121.1
  },
  "luminance": 0.75528
}

Semantic roles & 50–950 ramp

primary
#D2EC8A
secondary
#7254C7
accent
#11D445
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #D2EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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