#D1DE2A#D1DE2A

#D1DE2A is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.2% C 0.184 H 114.1°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#D1DE2A
RGBrgb(209, 222, 42)
HSLhsl(64, 73%, 52%)
HSVhsv(64, 81%, 87%)
CMYKcmyk(5.9%, 0%, 81.1%, 12.9%)
CIE-LABlab(84.98, -24.14, 77.84)
CIE-LCHlch(84.98, 81.50, 107.23°)
OKLaboklab(86.23% -0.0751 0.1683)
OKLCHoklch(86.23% 0.184 114.1)
XYZxyz(52.8354, 65.9661, 12.1395)
Luminance0.6596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DE2A #372ADE
analogous
#DE912A #D1DE2A #77DE2A
triadic
#D1DE2A #2AD1DE #DE2AD1
tetradic
#D1DE2A #2ADE91 #372ADE #DE2A77
square
#D1DE2A #2ADE91 #372ADE #DE2A77
split-complementary
#D1DE2A #2A77DE #912ADE
monochromatic
#737B13 #A5B01B #D1DE2A #DCE65F #E8EE94

Accessibility & contrast

On white

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

On black

14.19
#D1DE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DE2A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DE2A#FFFFFF#000000##000000
##D1DE2A1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD300
Deuteranopia (green-blind)
#EED63D
Tritanopia (blue-blind)
#DFD0BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d1de2a;
/* rgb */ color: rgb(209, 222, 42);
/* oklch */ color: oklch(86.2% 0.184 114.1);
Tailwind
colors: {
  custom: {
    50: '#e3e875',
    500: '#d1de2a',
    950: '#000000',
  },
}
SCSS
$custom: #d1de2a;
$custom-light: #e3e875;
$custom-dark: #000000;
JSON
{
  "hex": "#d1de2a",
  "rgb": {
    "r": 209,
    "g": 222,
    "b": 42
  },
  "hsl": {
    "h": 64.333,
    "s": 73.171,
    "l": 51.765
  },
  "oklch": {
    "l": 0.86226,
    "c": 0.18432,
    "h": 114.1
  },
  "luminance": 0.65965
}

Semantic roles & 50–950 ramp

primary
#D1DE2A
secondary
#302A82
accent
#38F045
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#16160A
muted
#85847D

Preview Lab

Preview with #D1DE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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