#D1DC4E#D1DC4E

#D1DC4E 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#D1DC4E
RGBrgb(209, 220, 78)
HSLhsl(65, 67%, 58%)
HSVhsv(65, 65%, 86%)
CMYKcmyk(5%, 0%, 64.5%, 13.7%)
CIE-LABlab(84.63, -21.54, 65.81)
CIE-LCHlch(84.63, 69.24, 108.13°)
OKLaboklab(86.01% -0.0649 0.1488)
OKLCHoklch(86.01% 0.162 113.6)
XYZxyz(53.2643, 65.2928, 17.0031)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC4E #594EDC
analogous
#DCA04E #D1DC4E #8ADC4E
triadic
#D1DC4E #4ED1DC #DC4ED1
tetradic
#D1DC4E #4EDCA0 #594EDC #DC4E8A
square
#D1DC4E #4EDCA0 #594EDC #DC4E8A
split-complementary
#D1DC4E #4E8ADC #A04EDC
monochromatic
#89931D #B9C627 #D1DC4E #DEE681 #ECF0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DC4E#FFFFFF#000000##000000
##D1DC4E1.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)
#ECD23B
Deuteranopia (green-blind)
#EBD558
Tritanopia (blue-blind)
#DED0BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc4e;
/* rgb */ color: rgb(209, 220, 78);
/* oklch */ color: oklch(86.0% 0.162 113.6);
Tailwind
colors: {
  custom: {
    50: '#e2e687',
    500: '#d1dc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc4e;
$custom-light: #e2e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc4e",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 64.648,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86012,
    "c": 0.1623,
    "h": 113.6
  },
  "luminance": 0.65292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1DC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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