#D2EC74#D2EC74

#D2EC74 is a very light, vivid yellow-green. Relative luminance 0.750; OKLCH L 89.9% C 0.149 H 119.6°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#D2EC74
RGBrgb(210, 236, 116)
HSLhsl(73, 76%, 69%)
HSVhsv(73, 51%, 93%)
CMYKcmyk(11%, 0%, 50.8%, 7.5%)
CIE-LABlab(89.37, -25.92, 54.73)
CIE-LCHlch(89.37, 60.56, 115.34°)
OKLaboklab(89.94% -0.0736 0.1295)
OKLCHoklch(89.94% 0.149 119.6)
XYZxyz(59.7267, 74.9537, 27.8407)
Luminance0.7495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC74 #8E74EC
analogous
#ECCA74 #D2EC74 #96EC74
triadic
#D2EC74 #74D2EC #EC74D2
tetradic
#D2EC74 #74ECCA #8E74EC #EC7496
square
#D2EC74 #74ECCA #8E74EC #EC7496
split-complementary
#D2EC74 #7496EC #CA74EC
monochromatic
#A4CA1C #C1E53E #D2EC74 #E3F3AA #F5FBE0

Accessibility & contrast

On white

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

On black

15.99
#D2EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC74
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC74#FFFFFF#000000##000000
##D2EC741.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E169
Deuteranopia (green-blind)
#F6E17B
Tritanopia (blue-blind)
#DCE1D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d2ec74;
/* rgb */ color: rgb(210, 236, 116);
/* oklch */ color: oklch(89.9% 0.149 119.6);
Tailwind
colors: {
  custom: {
    50: '#e2f29f',
    500: '#d2ec74',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec74;
$custom-light: #e2f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec74",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 73,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89938,
    "c": 0.1489,
    "h": 119.6
  },
  "luminance": 0.74953
}

Semantic roles & 50–950 ramp

primary
#D2EC74
secondary
#5C40C5
accent
#0DD839
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D2EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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