#D1E478#D1E478

#D1E478 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 88.2% C 0.135 H 117.5°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#D1E478
RGBrgb(209, 228, 120)
HSLhsl(71, 67%, 68%)
HSVhsv(71, 47%, 89%)
CMYKcmyk(8.3%, 0%, 47.4%, 10.6%)
CIE-LABlab(87.19, -22.09, 50.24)
CIE-LCHlch(87.19, 54.88, 113.74°)
OKLaboklab(88.19% -0.0624 0.1199)
OKLCHoklch(88.19% 0.135 117.5)
XYZxyz(57.4286, 70.3987, 28.3286)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E478 #8B78E4
analogous
#E4C178 #D1E478 #9BE478
triadic
#D1E478 #78D1E4 #E478D1
tetradic
#D1E478 #78E4C1 #8B78E4 #E4789B
square
#D1E478 #78E4C1 #8B78E4 #E4789B
split-complementary
#D1E478 #789BE4 #C178E4
monochromatic
#A2BC26 #C0DA45 #D1E478 #E2EEAB #F4F8DE

Accessibility & contrast

On white

1.39
#D1E478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#D1E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E478
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E478#FFFFFF#000000##000000
##D1E4781.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#EFDB7E
Tritanopia (blue-blind)
#DBDACB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d1e478;
/* rgb */ color: rgb(209, 228, 120);
/* oklch */ color: oklch(88.2% 0.135 117.5);
Tailwind
colors: {
  custom: {
    50: '#e1eca1',
    500: '#d1e478',
    950: '#000000',
  },
}
SCSS
$custom: #d1e478;
$custom-light: #e1eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e478",
  "rgb": {
    "r": 209,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 70.556,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88189,
    "c": 0.13517,
    "h": 117.5
  },
  "luminance": 0.70398
}

Semantic roles & 50–950 ramp

primary
#D1E478
secondary
#5A45BB
accent
#17CF37
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #D1E478

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

Preview Lab → · Contrast checker → · Palette generator →

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