#D1DC4C#D1DC4C

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

Color values

HEX#D1DC4C
RGBrgb(209, 220, 76)
HSLhsl(65, 67%, 58%)
HSVhsv(65, 65%, 86%)
CMYKcmyk(5%, 0%, 65.5%, 13.7%)
CIE-LABlab(84.62, -21.66, 66.57)
CIE-LCHlch(84.62, 70.01, 108.02°)
OKLaboklab(86% -0.0654 0.1501)
OKLCHoklch(86% 0.164 113.6)
XYZxyz(53.1936, 65.2646, 16.6312)
Luminance0.6526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC4C #574CDC
analogous
#DC9F4C #D1DC4C #89DC4C
triadic
#D1DC4C #4CD1DC #DC4CD1
tetradic
#D1DC4C #4CDC9F #574CDC #DC4C89
square
#D1DC4C #4CDC9F #574CDC #DC4C89
split-complementary
#D1DC4C #4C89DC #9F4CDC
monochromatic
#88911C #B8C426 #D1DC4C #DEE67F #EBF0B2

Accessibility & contrast

On white

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

On black

14.05
#D1DC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DC4C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DC4C#FFFFFF#000000##000000
##D1DC4C1.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD238
Deuteranopia (green-blind)
#EBD556
Tritanopia (blue-blind)
#DECFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc4c;
/* rgb */ color: rgb(209, 220, 76);
/* oklch */ color: oklch(86.0% 0.164 113.6);
Tailwind
colors: {
  custom: {
    50: '#e2e685',
    500: '#d1dc4c',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc4c;
$custom-light: #e2e685;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc4c",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 76
  },
  "hsl": {
    "h": 64.583,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85996,
    "c": 0.16371,
    "h": 113.6
  },
  "luminance": 0.65264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1DC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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