#D1DE40#D1DE40

#D1DE40 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.3% C 0.174 H 114.2°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#D1DE40
RGBrgb(209, 222, 64)
HSLhsl(65, 71%, 56%)
HSVhsv(65, 71%, 87%)
CMYKcmyk(5.9%, 0%, 71.2%, 12.9%)
CIE-LABlab(85.08, -23.27, 71.42)
CIE-LCHlch(85.08, 75.12, 108.05°)
OKLaboklab(86.34% -0.071 0.1584)
OKLCHoklch(86.34% 0.174 114.2)
XYZxyz(53.3427, 66.1691, 14.8114)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DE40 #4D40DE
analogous
#DE9C40 #D1DE40 #82DE40
triadic
#D1DE40 #40D1DE #DE40D1
tetradic
#D1DE40 #40DE9C #4D40DE #DE4082
square
#D1DE40 #40DE9C #4D40DE #DE4082
split-complementary
#D1DE40 #4082DE #9C40DE
monochromatic
#828B18 #B3C021 #D1DE40 #DEE774 #EAF0A8

Accessibility & contrast

On white

1.48
#D1DE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#D1DE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DE40
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DE40#FFFFFF#000000##000000
##D1DE401.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED322
Deuteranopia (green-blind)
#EED64D
Tritanopia (blue-blind)
#DFD1BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1de40;
/* rgb */ color: rgb(209, 222, 64);
/* oklch */ color: oklch(86.3% 0.174 114.2);
Tailwind
colors: {
  custom: {
    50: '#e3e87f',
    500: '#d1de40',
    950: '#000000',
  },
}
SCSS
$custom: #d1de40;
$custom-light: #e3e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1de40",
  "rgb": {
    "r": 209,
    "g": 222,
    "b": 64
  },
  "hsl": {
    "h": 64.937,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.86342,
    "c": 0.17358,
    "h": 114.2
  },
  "luminance": 0.66168
}

Semantic roles & 50–950 ramp

primary
#D1DE40
secondary
#393191
accent
#3AED49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D1DE40

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

Preview Lab → · Contrast checker → · Palette generator →

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