#D2EC6F#D2EC6F

#D2EC6F is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.9% C 0.154 H 119.4°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#D2EC6F
RGBrgb(210, 236, 111)
HSLhsl(72, 77%, 68%)
HSVhsv(72, 53%, 93%)
CMYKcmyk(11%, 0%, 53%, 7.5%)
CIE-LABlab(89.32, -26.37, 56.95)
CIE-LCHlch(89.32, 62.76, 114.85°)
OKLaboklab(89.88% -0.0753 0.1338)
OKLCHoklch(89.88% 0.154 119.4)
XYZxyz(59.4437, 74.8405, 26.3500)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC6F #896FEC
analogous
#ECC76F #D2EC6F #93EC6F
triadic
#D2EC6F #6FD2EC #EC6FD2
tetradic
#D2EC6F #6FECC7 #896FEC #EC6F93
square
#D2EC6F #6FECC7 #896FEC #EC6F93
split-complementary
#D2EC6F #6F93EC #C76FEC
monochromatic
#A3C61A #C1E539 #D2EC6F #E3F3A5 #F4FADB

Accessibility & contrast

On white

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

On black

15.97
#D2EC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC6F
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC6F#FFFFFF#000000##000000
##D2EC6F1.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E063
Deuteranopia (green-blind)
#F6E176
Tritanopia (blue-blind)
#DCE1D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec6f;
/* rgb */ color: rgb(210, 236, 111);
/* oklch */ color: oklch(89.9% 0.154 119.4);
Tailwind
colors: {
  custom: {
    50: '#e2f29c',
    500: '#d2ec6f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec6f;
$custom-light: #e2f29c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec6f",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 72.48,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89879,
    "c": 0.15354,
    "h": 119.4
  },
  "luminance": 0.7484
}

Semantic roles & 50–950 ramp

primary
#D2EC6F
secondary
#583BC4
accent
#0DD937
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D2EC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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