#D1E342#D1E342

#D1E342 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.4% C 0.178 H 115.8°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#D1E342
RGBrgb(209, 227, 66)
HSLhsl(67, 74%, 57%)
HSVhsv(67, 71%, 89%)
CMYKcmyk(7.9%, 0%, 70.9%, 11%)
CIE-LABlab(86.45, -25.57, 72.06)
CIE-LCHlch(86.45, 76.46, 109.54°)
OKLaboklab(87.44% -0.0772 0.1601)
OKLCHoklch(87.44% 0.178 115.8)
XYZxyz(54.7484, 68.8877, 15.5658)
Luminance0.6889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E342 #5442E3
analogous
#E3A442 #D1E342 #81E342
triadic
#D1E342 #42D1E3 #E342D1
tetradic
#D1E342 #42E3A4 #5442E3 #E34281
square
#D1E342 #42E3A4 #5442E3 #E34281
split-complementary
#D1E342 #4281E3 #A442E3
monochromatic
#869516 #B7CA1E #D1E342 #DEEB77 #EBF3AD

Accessibility & contrast

On white

1.42
#D1E342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#D1E342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E342
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E342#FFFFFF#000000##000000
##D1E3421.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D724
Deuteranopia (green-blind)
#F1DA4F
Tritanopia (blue-blind)
#DED6C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d1e342;
/* rgb */ color: rgb(209, 227, 66);
/* oklch */ color: oklch(87.4% 0.178 115.8);
Tailwind
colors: {
  custom: {
    50: '#e3eb81',
    500: '#d1e342',
    950: '#000000',
  },
}
SCSS
$custom: #d1e342;
$custom-light: #e3eb81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e342",
  "rgb": {
    "r": 209,
    "g": 227,
    "b": 66
  },
  "hsl": {
    "h": 66.708,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87441,
    "c": 0.17771,
    "h": 115.8
  },
  "luminance": 0.68887
}

Semantic roles & 50–950 ramp

primary
#D1E342
secondary
#3C3099
accent
#37F14C
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D1E342

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

Preview Lab → · Contrast checker → · Palette generator →

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