#D1DC4D#D1DC4D

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

Color values

HEX#D1DC4D
RGBrgb(209, 220, 77)
HSLhsl(65, 67%, 58%)
HSVhsv(65, 65%, 86%)
CMYKcmyk(5%, 0%, 65%, 13.7%)
CIE-LABlab(84.63, -21.60, 66.19)
CIE-LCHlch(84.63, 69.63, 108.08°)
OKLaboklab(86% -0.0652 0.1494)
OKLCHoklch(86% 0.163 113.6)
XYZxyz(53.2287, 65.2786, 16.8158)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC4D #584DDC
analogous
#DC9F4D #D1DC4D #8ADC4D
triadic
#D1DC4D #4DD1DC #DC4DD1
tetradic
#D1DC4D #4DDC9F #584DDC #DC4D8A
square
#D1DC4D #4DDC9F #584DDC #DC4D8A
split-complementary
#D1DC4D #4D8ADC #9F4DDC
monochromatic
#89921D #B9C527 #D1DC4D #DEE680 #EBF0B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DC4D#FFFFFF#000000##000000
##D1DC4D1.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)
#ECD239
Deuteranopia (green-blind)
#EBD557
Tritanopia (blue-blind)
#DECFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc4d;
/* rgb */ color: rgb(209, 220, 77);
/* oklch */ color: oklch(86.0% 0.163 113.6);
Tailwind
colors: {
  custom: {
    50: '#e2e686',
    500: '#d1dc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc4d;
$custom-light: #e2e686;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc4d",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 77
  },
  "hsl": {
    "h": 64.615,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86004,
    "c": 0.16301,
    "h": 113.6
  },
  "luminance": 0.65278
}

Semantic roles & 50–950 ramp

primary
#D1DC4D
secondary
#3E3697
accent
#3EEA4B
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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