#D2EC78#D2EC78

#D2EC78 is a very light, vivid yellow-green. Relative luminance 0.750; OKLCH L 90.0% C 0.145 H 119.8°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#D2EC78
RGBrgb(210, 236, 120)
HSLhsl(73, 75%, 70%)
HSVhsv(73, 49%, 93%)
CMYKcmyk(11%, 0%, 49.2%, 7.5%)
CIE-LABlab(89.42, -25.55, 52.94)
CIE-LCHlch(89.42, 58.78, 115.76°)
OKLaboklab(89.99% -0.0722 0.1258)
OKLCHoklch(89.99% 0.145 119.8)
XYZxyz(59.9644, 75.0488, 29.0925)
Luminance0.7505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC78 #9278EC
analogous
#ECCC78 #D2EC78 #98EC78
triadic
#D2EC78 #78D2EC #EC78D2
tetradic
#D2EC78 #78ECCC #9278EC #EC7898
square
#D2EC78 #78ECCC #9278EC #EC7898
split-complementary
#D2EC78 #7898EC #CC78EC
monochromatic
#A5CD1D #C0E442 #D2EC78 #E4F4AE #F6FBE3

Accessibility & contrast

On white

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

On black

16.01
#D2EC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC78
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC78#FFFFFF#000000##000000
##D2EC781.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E16E
Deuteranopia (green-blind)
#F5E17E
Tritanopia (blue-blind)
#DBE2D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d2ec78;
/* rgb */ color: rgb(210, 236, 120);
/* oklch */ color: oklch(90.0% 0.145 119.8);
Tailwind
colors: {
  custom: {
    50: '#e2f2a1',
    500: '#d2ec78',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec78;
$custom-light: #e2f2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec78",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 120
  },
  "hsl": {
    "h": 73.448,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89988,
    "c": 0.14507,
    "h": 119.8
  },
  "luminance": 0.75049
}

Semantic roles & 50–950 ramp

primary
#D2EC78
secondary
#6043C5
accent
#0ED73B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D2EC78

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

Preview Lab → · Contrast checker → · Palette generator →

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