#D1DF3A#D1DF3A

#D1DF3A is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.5% C 0.178 H 114.4°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#D1DF3A
RGBrgb(209, 223, 58)
HSLhsl(65, 72%, 55%)
HSVhsv(65, 74%, 87%)
CMYKcmyk(6.3%, 0%, 74%, 12.5%)
CIE-LABlab(85.32, -24.03, 73.63)
CIE-LCHlch(85.32, 77.45, 108.07°)
OKLaboklab(86.52% -0.0736 0.162)
OKLCHoklch(86.52% 0.178 114.4)
XYZxyz(53.4475, 66.6372, 14.0489)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF3A #483ADF
analogous
#DF9B3A #D1DF3A #7EDF3A
triadic
#D1DF3A #3AD1DF #DF3AD1
tetradic
#D1DF3A #3ADF9B #483ADF #DF3A7E
square
#D1DF3A #3ADF9B #483ADF #DF3A7E
split-complementary
#D1DF3A #3A7EDF #9B3ADF
monochromatic
#7F8816 #B0BD1F #D1DF3A #DDE86F #EAF0A3

Accessibility & contrast

On white

1.47
#D1DF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#D1DF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DF3A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DF3A#FFFFFF#000000##000000
##D1DF3A1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD413
Deuteranopia (green-blind)
#EFD748
Tritanopia (blue-blind)
#DFD2C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d1df3a;
/* rgb */ color: rgb(209, 223, 58);
/* oklch */ color: oklch(86.5% 0.178 114.4);
Tailwind
colors: {
  custom: {
    50: '#e3e87c',
    500: '#d1df3a',
    950: '#000000',
  },
}
SCSS
$custom: #d1df3a;
$custom-light: #e3e87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df3a",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 58
  },
  "hsl": {
    "h": 65.091,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.86522,
    "c": 0.17798,
    "h": 114.4
  },
  "luminance": 0.66636
}

Semantic roles & 50–950 ramp

primary
#D1DF3A
secondary
#372F8E
accent
#39EF48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #D1DF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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