#D1DF4A#D1DF4A

#D1DF4A is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.6% C 0.168 H 114.6°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#D1DF4A
RGBrgb(209, 223, 74)
HSLhsl(66, 70%, 58%)
HSVhsv(66, 67%, 87%)
CMYKcmyk(6.3%, 0%, 66.8%, 12.5%)
CIE-LABlab(85.42, -23.23, 68.15)
CIE-LCHlch(85.42, 72.00, 108.82°)
OKLaboklab(86.63% -0.07 0.1531)
OKLCHoklch(86.63% 0.168 114.6)
XYZxyz(53.9196, 66.8260, 16.5355)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF4A #584ADF
analogous
#DFA34A #D1DF4A #86DF4A
triadic
#D1DF4A #4AD1DF #DF4AD1
tetradic
#D1DF4A #4ADFA3 #584ADF #DF4A86
square
#D1DF4A #4ADFA3 #584ADF #DF4A86
split-complementary
#D1DF4A #4A86DF #A34ADF
monochromatic
#89941A #B9C823 #D1DF4A #DEE87E #EBF1B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DF4A#FFFFFF#000000##000000
##D1DF4A1.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)
#EFD434
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#DED2C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d1df4a;
/* rgb */ color: rgb(209, 223, 74);
/* oklch */ color: oklch(86.6% 0.168 114.6);
Tailwind
colors: {
  custom: {
    50: '#e2e885',
    500: '#d1df4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1df4a;
$custom-light: #e2e885;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df4a",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 65.638,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86629,
    "c": 0.16833,
    "h": 114.6
  },
  "luminance": 0.66825
}

Semantic roles & 50–950 ramp

primary
#D1DF4A
secondary
#3E3499
accent
#3BED4C
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16160C
muted
#84847F

Preview Lab

Preview with #D1DF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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