#D1E642#D1E642

#D1E642 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.1% C 0.181 H 116.7°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#D1E642
RGBrgb(209, 230, 66)
HSLhsl(68, 77%, 58%)
HSVhsv(68, 71%, 90%)
CMYKcmyk(9.1%, 0%, 71.3%, 9.8%)
CIE-LABlab(87.26, -26.99, 72.85)
CIE-LCHlch(87.26, 77.69, 110.33°)
OKLaboklab(88.1% -0.0812 0.1617)
OKLCHoklch(88.1% 0.181 116.7)
XYZxyz(55.5760, 70.5430, 15.8416)
Luminance0.7054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E642 #5742E6
analogous
#E6A942 #D1E642 #7FE642
triadic
#D1E642 #42D1E6 #E642D1
tetradic
#D1E642 #42E6A9 #5742E6 #E6427F
square
#D1E642 #42E6A9 #5742E6 #E6427F
split-complementary
#D1E642 #427FE6 #A942E6
monochromatic
#889914 #B8CF1B #D1E642 #DEED78 #EBF4AE

Accessibility & contrast

On white

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

On black

15.11
#D1E642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E642
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E642#FFFFFF#000000##000000
##D1E6421.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DA23
Deuteranopia (green-blind)
#F4DC50
Tritanopia (blue-blind)
#DED9C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d1e642;
/* rgb */ color: rgb(209, 230, 66);
/* oklch */ color: oklch(88.1% 0.181 116.7);
Tailwind
colors: {
  custom: {
    50: '#e3ed81',
    500: '#d1e642',
    950: '#000000',
  },
}
SCSS
$custom: #d1e642;
$custom-light: #e3ed81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e642",
  "rgb": {
    "r": 209,
    "g": 230,
    "b": 66
  },
  "hsl": {
    "h": 67.683,
    "s": 76.636,
    "l": 58.039
  },
  "oklch": {
    "l": 0.88095,
    "c": 0.18095,
    "h": 116.7
  },
  "luminance": 0.70542
}

Semantic roles & 50–950 ramp

primary
#D1E642
secondary
#3D2F9D
accent
#35F34D
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D1E642

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

Preview Lab → · Contrast checker → · Palette generator →

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