#D1EC56#D1EC56

#D1EC56 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.6% C 0.174 H 118.8°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#D1EC56
RGBrgb(209, 236, 86)
HSLhsl(71, 80%, 63%)
HSVhsv(71, 64%, 93%)
CMYKcmyk(11.4%, 0%, 63.6%, 7.5%)
CIE-LABlab(89.03, -28.67, 67.25)
CIE-LCHlch(89.03, 73.11, 113.09°)
OKLaboklab(89.55% -0.084 0.1529)
OKLCHoklch(89.55% 0.175 118.8)
XYZxyz(57.9707, 74.2185, 20.0740)
Luminance0.7422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EC56 #7156EC
analogous
#ECBC56 #D1EC56 #86EC56
triadic
#D1EC56 #56D1EC #EC56D1
tetradic
#D1EC56 #56ECBC #7156EC #EC5686
square
#D1EC56 #56ECBC #7156EC #EC5686
split-complementary
#D1EC56 #5686EC #BC56EC
monochromatic
#97B314 #C2E61F #D1EC56 #E0F28D #EFF8C4

Accessibility & contrast

On white

1.33
#D1EC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#D1EC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EC56
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EC56#FFFFFF#000000##000000
##D1EC561.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE042
Deuteranopia (green-blind)
#F8E061
Tritanopia (blue-blind)
#DDE0CD
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d1ec56;
/* rgb */ color: rgb(209, 236, 86);
/* oklch */ color: oklch(89.6% 0.174 118.8);
Tailwind
colors: {
  custom: {
    50: '#e2f28c',
    500: '#d1ec56',
    950: '#000000',
  },
}
SCSS
$custom: #d1ec56;
$custom-light: #e2f28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ec56",
  "rgb": {
    "r": 209,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 70.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.89554,
    "c": 0.1745,
    "h": 118.8
  },
  "luminance": 0.74218
}

Semantic roles & 50–950 ramp

primary
#D1EC56
secondary
#4A33B3
accent
#09DC2F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #D1EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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