#D1DF4E#D1DF4E

#D1DF4E is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.7% C 0.166 H 114.6°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#D1DF4E
RGBrgb(209, 223, 78)
HSLhsl(66, 69%, 59%)
HSVhsv(66, 65%, 87%)
CMYKcmyk(6.3%, 0%, 65%, 12.5%)
CIE-LABlab(85.44, -22.99, 66.65)
CIE-LCHlch(85.44, 70.50, 109.03°)
OKLaboklab(86.66% -0.0689 0.1505)
OKLCHoklch(86.66% 0.166 114.6)
XYZxyz(54.0587, 66.8817, 17.2680)
Luminance0.6688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF4E #5C4EDF
analogous
#DFA54E #D1DF4E #89DF4E
triadic
#D1DF4E #4ED1DF #DF4ED1
tetradic
#D1DF4E #4EDFA5 #5C4EDF #DF4E89
square
#D1DF4E #4EDFA5 #5C4EDF #DF4E89
split-complementary
#D1DF4E #4E89DF #A54EDF
monochromatic
#8B971B #BBCB25 #D1DF4E #DEE882 #ECF2B6

Accessibility & contrast

On white

1.46
#D1DF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#D1DF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DF4E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DF4E#FFFFFF#000000##000000
##D1DF4E1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43A
Deuteranopia (green-blind)
#EED758
Tritanopia (blue-blind)
#DED3C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d1df4e;
/* rgb */ color: rgb(209, 223, 78);
/* oklch */ color: oklch(86.7% 0.166 114.6);
Tailwind
colors: {
  custom: {
    50: '#e2e887',
    500: '#d1df4e',
    950: '#000000',
  },
}
SCSS
$custom: #d1df4e;
$custom-light: #e2e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df4e",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 78
  },
  "hsl": {
    "h": 65.793,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86661,
    "c": 0.16557,
    "h": 114.6
  },
  "luminance": 0.66881
}

Semantic roles & 50–950 ramp

primary
#D1DF4E
secondary
#40369B
accent
#3CEC4D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1DF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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