#D1DB4F#D1DB4F

#D1DB4F is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.8% C 0.160 H 113.2°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#D1DB4F
RGBrgb(209, 219, 79)
HSLhsl(64, 66%, 58%)
HSVhsv(64, 64%, 86%)
CMYKcmyk(4.6%, 0%, 63.9%, 14.1%)
CIE-LABlab(84.37, -21.00, 65.14)
CIE-LCHlch(84.37, 68.44, 107.87°)
OKLaboklab(85.81% -0.0633 0.1475)
OKLCHoklch(85.81% 0.16 113.2)
XYZxyz(53.0387, 64.7839, 17.1062)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB4F #594FDB
analogous
#DB9F4F #D1DB4F #8BDB4F
triadic
#D1DB4F #4FD1DB #DB4FD1
tetradic
#D1DB4F #4FDB9F #594FDB #DB4F8B
square
#D1DB4F #4FDB9F #594FDB #DB4F8B
split-complementary
#D1DB4F #4F8BDB #9F4FDB
monochromatic
#89921E #B9C528 #D1DB4F #DEE582 #ECF0B5

Accessibility & contrast

On white

1.50
#D1DB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#D1DB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB4F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB4F#FFFFFF#000000##000000
##D1DB4F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13C
Deuteranopia (green-blind)
#EAD458
Tritanopia (blue-blind)
#DECFBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d1db4f;
/* rgb */ color: rgb(209, 219, 79);
/* oklch */ color: oklch(85.8% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#e2e687',
    500: '#d1db4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1db4f;
$custom-light: #e2e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db4f",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 64.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85805,
    "c": 0.16048,
    "h": 113.2
  },
  "luminance": 0.64783
}

Semantic roles & 50–950 ramp

primary
#D1DB4F
secondary
#3E3797
accent
#3FE94B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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