#D1DF4D#D1DF4D

#D1DF4D 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.37:1 contrast (WCAG AA passes).

Color values

HEX#D1DF4D
RGBrgb(209, 223, 77)
HSLhsl(66, 70%, 59%)
HSVhsv(66, 65%, 87%)
CMYKcmyk(6.3%, 0%, 65.5%, 12.5%)
CIE-LABlab(85.44, -23.05, 67.03)
CIE-LCHlch(85.44, 70.88, 108.98°)
OKLaboklab(86.65% -0.0692 0.1512)
OKLCHoklch(86.65% 0.166 114.6)
XYZxyz(54.0231, 66.8674, 17.0806)
Luminance0.6687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF4D #5B4DDF
analogous
#DFA44D #D1DF4D #88DF4D
triadic
#D1DF4D #4DD1DF #DF4DD1
tetradic
#D1DF4D #4DDFA4 #5B4DDF #DF4D88
square
#D1DF4D #4DDFA4 #5B4DDF #DF4D88
split-complementary
#D1DF4D #4D88DF #A44DDF
monochromatic
#8B971B #BACA24 #D1DF4D #DEE881 #ECF2B5

Accessibility & contrast

On white

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

On black

14.37
#D1DF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DF4D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DF4D#FFFFFF#000000##000000
##D1DF4D1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED438
Deuteranopia (green-blind)
#EED757
Tritanopia (blue-blind)
#DED2C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d1df4d;
/* rgb */ color: rgb(209, 223, 77);
/* oklch */ color: oklch(86.7% 0.166 114.6);
Tailwind
colors: {
  custom: {
    50: '#e2e886',
    500: '#d1df4d',
    950: '#000000',
  },
}
SCSS
$custom: #d1df4d;
$custom-light: #e2e886;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df4d",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 77
  },
  "hsl": {
    "h": 65.753,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86653,
    "c": 0.16627,
    "h": 114.6
  },
  "luminance": 0.66866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1DF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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