#D2EC5F#D2EC5F

#D2EC5F is a very light, vivid yellow-green. Relative luminance 0.745; OKLCH L 89.7% C 0.167 H 118.7°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#D2EC5F
RGBrgb(210, 236, 95)
HSLhsl(71, 79%, 65%)
HSVhsv(71, 60%, 93%)
CMYKcmyk(11%, 0%, 59.7%, 7.5%)
CIE-LABlab(89.17, -27.65, 63.75)
CIE-LCHlch(89.17, 69.49, 113.45°)
OKLaboklab(89.71% -0.0804 0.1467)
OKLCHoklch(89.71% 0.167 118.7)
XYZxyz(58.6403, 74.5192, 22.1187)
Luminance0.7452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2EC5F #795FEC
analogous
#ECC05F #D2EC5F #8BEC5F
triadic
#D2EC5F #5FD2EC #EC5FD2
tetradic
#D2EC5F #5FECC0 #795FEC #EC5F8B
square
#D2EC5F #5FECC0 #795FEC #EC5F8B
split-complementary
#D2EC5F #5F8BEC #C05FEC
monochromatic
#9CBA16 #C3E628 #D2EC5F #E1F296 #F1F9CC

Accessibility & contrast

On white

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

On black

15.90
#D2EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2EC5F
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2EC5F#FFFFFF#000000##000000
##D2EC5F1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE04F
Deuteranopia (green-blind)
#F7E168
Tritanopia (blue-blind)
#DDE0CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d2ec5f;
/* rgb */ color: rgb(210, 236, 95);
/* oklch */ color: oklch(89.7% 0.167 118.7);
Tailwind
colors: {
  custom: {
    50: '#e3f292',
    500: '#d2ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ec5f;
$custom-light: #e3f292;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ec5f",
  "rgb": {
    "r": 210,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 71.064,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89709,
    "c": 0.16726,
    "h": 118.7
  },
  "luminance": 0.74519
}

Semantic roles & 50–950 ramp

primary
#D2EC5F
secondary
#4E36BA
accent
#0ADB31
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D2EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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