#D1ED40#D1ED40

#D1ED40 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 89.6% C 0.190 H 118.6°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#D1ED40
RGBrgb(209, 237, 64)
HSLhsl(70, 83%, 59%)
HSVhsv(70, 73%, 93%)
CMYKcmyk(11.8%, 0%, 73%, 7.1%)
CIE-LABlab(89.16, -30.37, 75.33)
CIE-LCHlch(89.16, 81.22, 111.96°)
OKLaboklab(89.61% -0.0907 0.1666)
OKLCHoklch(89.61% 0.19 118.6)
XYZxyz(57.5053, 74.4943, 16.1989)
Luminance0.7449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1ED40 #5C40ED
analogous
#EDB340 #D1ED40 #7BED40
triadic
#D1ED40 #40D1ED #ED40D1
tetradic
#D1ED40 #40EDB3 #5C40ED #ED407B
square
#D1ED40 #40EDB3 #5C40ED #ED407B
split-complementary
#D1ED40 #407BED #B340ED
monochromatic
#8BA30F #BBDB15 #D1ED40 #DEF278 #ECF8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1ED40#FFFFFF#000000##000000
##D1ED401.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)
#FDE01B
Deuteranopia (green-blind)
#F9E14F
Tritanopia (blue-blind)
#DDE0CC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d1ed40;
/* rgb */ color: rgb(209, 237, 64);
/* oklch */ color: oklch(89.6% 0.190 118.6);
Tailwind
colors: {
  custom: {
    50: '#e3f281',
    500: '#d1ed40',
    950: '#000000',
  },
}
SCSS
$custom: #d1ed40;
$custom-light: #e3f281;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ed40",
  "rgb": {
    "r": 209,
    "g": 237,
    "b": 64
  },
  "hsl": {
    "h": 69.711,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.89613,
    "c": 0.1897,
    "h": 118.6
  },
  "luminance": 0.74494
}

Semantic roles & 50–950 ramp

primary
#D1ED40
secondary
#402CA5
accent
#2FF94F
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16170B
muted
#84857E

Preview Lab

Preview with #D1ED40

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

Preview Lab → · Contrast checker → · Palette generator →

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