#D1DA4F#D1DA4F

#D1DA4F is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.6% C 0.159 H 112.8°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#D1DA4F
RGBrgb(209, 218, 79)
HSLhsl(64, 65%, 58%)
HSVhsv(64, 64%, 85%)
CMYKcmyk(4.1%, 0%, 63.8%, 14.5%)
CIE-LABlab(84.10, -20.51, 64.86)
CIE-LCHlch(84.10, 68.02, 107.55°)
OKLaboklab(85.59% -0.0619 0.1469)
OKLCHoklch(85.59% 0.159 112.8)
XYZxyz(52.7786, 64.2637, 17.0195)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DA4F #584FDA
analogous
#DA9D4F #D1DA4F #8BDA4F
triadic
#D1DA4F #4FD1DA #DA4FD1
tetradic
#D1DA4F #4FDA9D #584FDA #DA4F8B
square
#D1DA4F #4FDA9D #584FDA #DA4F8B
split-complementary
#D1DA4F #4F8BDA #9D4FDA
monochromatic
#89901E #B9C329 #D1DA4F #DEE582 #EBEFB4

Accessibility & contrast

On white

1.52
#D1DA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#D1DA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DA4F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DA4F#FFFFFF#000000##000000
##D1DA4F1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03D
Deuteranopia (green-blind)
#EAD358
Tritanopia (blue-blind)
#DECEBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d1da4f;
/* rgb */ color: rgb(209, 218, 79);
/* oklch */ color: oklch(85.6% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#e2e587',
    500: '#d1da4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1da4f;
$custom-light: #e2e587;
$custom-dark: #000000;
JSON
{
  "hex": "#d1da4f",
  "rgb": {
    "r": 209,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 63.885,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85589,
    "c": 0.15941,
    "h": 112.8
  },
  "luminance": 0.64263
}

Semantic roles & 50–950 ramp

primary
#D1DA4F
secondary
#3E3895
accent
#40E84A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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