#D1ED5A#D1ED5A

#D1ED5A is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.8% C 0.173 H 119.2°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#D1ED5A
RGBrgb(209, 237, 90)
HSLhsl(71, 80%, 64%)
HSVhsv(71, 62%, 93%)
CMYKcmyk(11.8%, 0%, 62%, 7.1%)
CIE-LABlab(89.33, -28.87, 65.97)
CIE-LCHlch(89.33, 72.01, 113.64°)
OKLaboklab(89.81% -0.0842 0.1508)
OKLCHoklch(89.81% 0.173 119.2)
XYZxyz(58.4251, 74.8622, 21.0428)
Luminance0.7486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1ED5A #765AED
analogous
#EDC05A #D1ED5A #88ED5A
triadic
#D1ED5A #5AD1ED #ED5AD1
tetradic
#D1ED5A #5AEDC0 #765AED #ED5A88
square
#D1ED5A #5AEDC0 #765AED #ED5A88
split-complementary
#D1ED5A #5A88ED #C05AED
monochromatic
#99B814 #C2E723 #D1ED5A #E0F391 #F0F9C8

Accessibility & contrast

On white

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

On black

15.97
#D1ED5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1ED5A
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1ED5A#FFFFFF#000000##000000
##D1ED5A1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE048
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#DCE1CE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d1ed5a;
/* rgb */ color: rgb(209, 237, 90);
/* oklch */ color: oklch(89.8% 0.173 119.2);
Tailwind
colors: {
  custom: {
    50: '#e2f28f',
    500: '#d1ed5a',
    950: '#000000',
  },
}
SCSS
$custom: #d1ed5a;
$custom-light: #e2f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ed5a",
  "rgb": {
    "r": 209,
    "g": 237,
    "b": 90
  },
  "hsl": {
    "h": 71.429,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89808,
    "c": 0.17269,
    "h": 119.2
  },
  "luminance": 0.74862
}

Semantic roles & 50–950 ramp

primary
#D1ED5A
secondary
#4D33B8
accent
#09DD31
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1ED5A

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

Preview Lab → · Contrast checker → · Palette generator →

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