#D1E04C#D1E04C

#D1E04C is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.9% C 0.168 H 114.9°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#D1E04C
RGBrgb(209, 224, 76)
HSLhsl(66, 70%, 59%)
HSVhsv(66, 66%, 88%)
CMYKcmyk(6.7%, 0%, 66.1%, 12.2%)
CIE-LABlab(85.70, -23.59, 67.68)
CIE-LCHlch(85.70, 71.68, 109.22°)
OKLaboklab(86.86% -0.0708 0.1524)
OKLCHoklch(86.86% 0.168 114.9)
XYZxyz(54.2560, 67.3893, 16.9854)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1E04C #5B4CE0
analogous
#E0A54C #D1E04C #87E04C
triadic
#D1E04C #4CD1E0 #E04CD1
tetradic
#D1E04C #4CE0A5 #5B4CE0 #E04C87
square
#D1E04C #4CE0A5 #5B4CE0 #E04C87
split-complementary
#D1E04C #4C87E0 #A54CE0
monochromatic
#8B971A #BACC23 #D1E04C #DEE980 #ECF2B4

Accessibility & contrast

On white

1.45
#D1E04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#D1E04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1E04C
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1E04C#FFFFFF#000000##000000
##D1E04C1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD537
Deuteranopia (green-blind)
#EFD857
Tritanopia (blue-blind)
#DED3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d1e04c;
/* rgb */ color: rgb(209, 224, 76);
/* oklch */ color: oklch(86.9% 0.168 114.9);
Tailwind
colors: {
  custom: {
    50: '#e2e986',
    500: '#d1e04c',
    950: '#000000',
  },
}
SCSS
$custom: #d1e04c;
$custom-light: #e2e986;
$custom-dark: #000000;
JSON
{
  "hex": "#d1e04c",
  "rgb": {
    "r": 209,
    "g": 224,
    "b": 76
  },
  "hsl": {
    "h": 66.081,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86861,
    "c": 0.16806,
    "h": 114.9
  },
  "luminance": 0.67388
}

Semantic roles & 50–950 ramp

primary
#D1E04C
secondary
#3F359B
accent
#3BED4D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1E04C

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

Preview Lab → · Contrast checker → · Palette generator →

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