#D1EA40#D1EA40

#D1EA40 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.0% C 0.186 H 117.8°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#D1EA40
RGBrgb(209, 234, 64)
HSLhsl(69, 80%, 58%)
HSVhsv(69, 73%, 92%)
CMYKcmyk(10.7%, 0%, 72.6%, 8.2%)
CIE-LABlab(88.34, -28.97, 74.55)
CIE-LCHlch(88.34, 79.98, 111.24°)
OKLaboklab(88.96% -0.0868 0.165)
OKLCHoklch(88.96% 0.186 117.8)
XYZxyz(56.6440, 72.7717, 15.9118)
Luminance0.7277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1EA40 #5940EA
analogous
#EAAE40 #D1EA40 #7CEA40
triadic
#D1EA40 #40D1EA #EA40D1
tetradic
#D1EA40 #40EAAE #5940EA #EA407C
square
#D1EA40 #40EAAE #5940EA #EA407C
split-complementary
#D1EA40 #407CEA #AE40EA
monochromatic
#899E11 #B9D517 #D1EA40 #DEF077 #ECF6AE

Accessibility & contrast

On white

1.35
#D1EA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#D1EA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1EA40
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1EA40#FFFFFF#000000##000000
##D1EA401.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADD1C
Deuteranopia (green-blind)
#F7DF4F
Tritanopia (blue-blind)
#DEDDCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d1ea40;
/* rgb */ color: rgb(209, 234, 64);
/* oklch */ color: oklch(89.0% 0.186 117.8);
Tailwind
colors: {
  custom: {
    50: '#e3f080',
    500: '#d1ea40',
    950: '#000000',
  },
}
SCSS
$custom: #d1ea40;
$custom-light: #e3f080;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ea40",
  "rgb": {
    "r": 209,
    "g": 234,
    "b": 64
  },
  "hsl": {
    "h": 68.824,
    "s": 80.189,
    "l": 58.431
  },
  "oklch": {
    "l": 0.88956,
    "c": 0.18643,
    "h": 117.8
  },
  "luminance": 0.72771
}

Semantic roles & 50–950 ramp

primary
#D1EA40
secondary
#3E2DA1
accent
#31F74E
background
#FEFFFB
surface
#FDFEF2
border
#D5D6CC
text
#16160B
muted
#84857E

Preview Lab

Preview with #D1EA40

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

Preview Lab → · Contrast checker → · Palette generator →

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