#D1DF4F#D1DF4F

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

Color values

HEX#D1DF4F
RGBrgb(209, 223, 79)
HSLhsl(66, 69%, 59%)
HSVhsv(66, 65%, 87%)
CMYKcmyk(6.3%, 0%, 64.6%, 12.5%)
CIE-LABlab(85.45, -22.93, 66.26)
CIE-LCHlch(85.45, 70.12, 109.09°)
OKLaboklab(86.67% -0.0687 0.1499)
OKLCHoklch(86.67% 0.165 114.6)
XYZxyz(54.0948, 66.8961, 17.4582)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF4F #5D4FDF
analogous
#DFA54F #D1DF4F #89DF4F
triadic
#D1DF4F #4FD1DF #DF4FD1
tetradic
#D1DF4F #4FDFA5 #5D4FDF #DF4F89
square
#D1DF4F #4FDFA5 #5D4FDF #DF4F89
split-complementary
#D1DF4F #4F89DF #A54FDF
monochromatic
#8C981C #BCCC25 #D1DF4F #DFE883 #ECF2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DF4F#FFFFFF#000000##000000
##D1DF4F1.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)
#EED43B
Deuteranopia (green-blind)
#EED759
Tritanopia (blue-blind)
#DED3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d1df4f;
/* rgb */ color: rgb(209, 223, 79);
/* oklch */ color: oklch(86.7% 0.165 114.6);
Tailwind
colors: {
  custom: {
    50: '#e2e887',
    500: '#d1df4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1df4f;
$custom-light: #e2e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df4f",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 65.833,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86669,
    "c": 0.16486,
    "h": 114.6
  },
  "luminance": 0.66895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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