#D1DC4A#D1DC4A

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

Color values

HEX#D1DC4A
RGBrgb(209, 220, 74)
HSLhsl(65, 68%, 58%)
HSVhsv(65, 66%, 86%)
CMYKcmyk(5%, 0%, 66.4%, 13.7%)
CIE-LABlab(84.61, -21.78, 67.33)
CIE-LCHlch(84.61, 70.76, 107.93°)
OKLaboklab(85.98% -0.0659 0.1514)
OKLCHoklch(85.98% 0.165 113.5)
XYZxyz(53.1252, 65.2372, 16.2707)
Luminance0.6524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC4A #554ADC
analogous
#DC9E4A #D1DC4A #88DC4A
triadic
#D1DC4A #4AD1DC #DC4AD1
tetradic
#D1DC4A #4ADC9E #554ADC #DC4A88
square
#D1DC4A #4ADC9E #554ADC #DC4A88
split-complementary
#D1DC4A #4A88DC #9E4ADC
monochromatic
#87901C #B7C326 #D1DC4A #DEE67D #EBF0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DC4A#FFFFFF#000000##000000
##D1DC4A1.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)
#ECD235
Deuteranopia (green-blind)
#EBD554
Tritanopia (blue-blind)
#DECFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc4a;
/* rgb */ color: rgb(209, 220, 74);
/* oklch */ color: oklch(86.0% 0.165 113.5);
Tailwind
colors: {
  custom: {
    50: '#e2e684',
    500: '#d1dc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc4a;
$custom-light: #e2e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc4a",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 64.521,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8598,
    "c": 0.1651,
    "h": 113.5
  },
  "luminance": 0.65236
}

Semantic roles & 50–950 ramp

primary
#D1DC4A
secondary
#3C3595
accent
#3DEA4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1DC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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