#D1DC4F#D1DC4F

#D1DC4F is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.0% C 0.162 H 113.6°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#D1DC4F
RGBrgb(209, 220, 79)
HSLhsl(65, 67%, 59%)
HSVhsv(65, 64%, 86%)
CMYKcmyk(5%, 0%, 64.1%, 13.7%)
CIE-LABlab(84.64, -21.48, 65.42)
CIE-LCHlch(84.64, 68.86, 108.18°)
OKLaboklab(86.02% -0.0646 0.1481)
OKLCHoklch(86.02% 0.162 113.6)
XYZxyz(53.3004, 65.3073, 17.1934)
Luminance0.6531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC4F #5A4FDC
analogous
#DCA04F #D1DC4F #8ADC4F
triadic
#D1DC4F #4FD1DC #DC4FD1
tetradic
#D1DC4F #4FDCA0 #5A4FDC #DC4F8A
square
#D1DC4F #4FDCA0 #5A4FDC #DC4F8A
split-complementary
#D1DC4F #4F8ADC #A04FDC
monochromatic
#8A931D #BAC627 #D1DC4F #DEE682 #ECF0B5

Accessibility & contrast

On white

1.49
#D1DC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#D1DC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DC4F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DC4F#FFFFFF#000000##000000
##D1DC4F1.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23C
Deuteranopia (green-blind)
#EBD559
Tritanopia (blue-blind)
#DED0BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc4f;
/* rgb */ color: rgb(209, 220, 79);
/* oklch */ color: oklch(86.0% 0.162 113.6);
Tailwind
colors: {
  custom: {
    50: '#e2e687',
    500: '#d1dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc4f;
$custom-light: #e2e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc4f",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 64.681,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8602,
    "c": 0.16157,
    "h": 113.6
  },
  "luminance": 0.65306
}

Semantic roles & 50–950 ramp

primary
#D1DC4F
secondary
#3F3798
accent
#3EEA4B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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