#D1EC52#D1EC52

#D1EC52 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.5% C 0.177 H 118.7°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#D1EC52
RGBrgb(209, 236, 82)
HSLhsl(71, 80%, 62%)
HSVhsv(71, 65%, 93%)
CMYKcmyk(11.4%, 0%, 65.3%, 7.5%)
CIE-LABlab(89.00, -28.92, 68.78)
CIE-LCHlch(89.00, 74.61, 112.81°)
OKLaboklab(89.52% -0.0851 0.1556)
OKLCHoklch(89.52% 0.177 118.7)
XYZxyz(57.8140, 74.1558, 19.2488)
Luminance0.7416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EC52 #6D52EC
analogous
#ECBA52 #D1EC52 #84EC52
triadic
#D1EC52 #52D1EC #EC52D1
tetradic
#D1EC52 #52ECBA #6D52EC #EC5284
square
#D1EC52 #52ECBA #6D52EC #EC5284
split-complementary
#D1EC52 #5284EC #BA52EC
monochromatic
#95B013 #C2E61B #D1EC52 #E0F289 #EEF8C0

Accessibility & contrast

On white

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

On black

15.83
#D1EC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EC52
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EC52#FFFFFF#000000##000000
##D1EC521.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF3D
Deuteranopia (green-blind)
#F8E05D
Tritanopia (blue-blind)
#DDE0CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d1ec52;
/* rgb */ color: rgb(209, 236, 82);
/* oklch */ color: oklch(89.5% 0.177 118.7);
Tailwind
colors: {
  custom: {
    50: '#e2f28a',
    500: '#d1ec52',
    950: '#000000',
  },
}
SCSS
$custom: #d1ec52;
$custom-light: #e2f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ec52",
  "rgb": {
    "r": 209,
    "g": 236,
    "b": 82
  },
  "hsl": {
    "h": 70.519,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89521,
    "c": 0.17736,
    "h": 118.7
  },
  "luminance": 0.74155
}

Semantic roles & 50–950 ramp

primary
#D1EC52
secondary
#4832B1
accent
#09DD2E
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #D1EC52

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

Preview Lab → · Contrast checker → · Palette generator →

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