#D1DC47#D1DC47

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

Color values

HEX#D1DC47
RGBrgb(209, 220, 71)
HSLhsl(64, 68%, 57%)
HSVhsv(64, 68%, 86%)
CMYKcmyk(5%, 0%, 67.7%, 13.7%)
CIE-LABlab(84.59, -21.95, 68.43)
CIE-LCHlch(84.59, 71.87, 107.78°)
OKLaboklab(85.96% -0.0667 0.1532)
OKLCHoklch(85.96% 0.167 113.5)
XYZxyz(53.0265, 65.1977, 15.7511)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC47 #5247DC
analogous
#DC9D47 #D1DC47 #86DC47
triadic
#D1DC47 #47D1DC #DC47D1
tetradic
#D1DC47 #47DC9D #5247DC #DC4786
square
#D1DC47 #47DC9D #5247DC #DC4786
split-complementary
#D1DC47 #4786DC #9D47DC
monochromatic
#858E1B #B6C125 #D1DC47 #DEE67A #EBF0AE

Accessibility & contrast

On white

1.50
#D1DC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#D1DC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DC47
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DC47#FFFFFF#000000##000000
##D1DC471.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD230
Deuteranopia (green-blind)
#ECD552
Tritanopia (blue-blind)
#DFCFBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1dc47;
/* rgb */ color: rgb(209, 220, 71);
/* oklch */ color: oklch(86.0% 0.167 113.5);
Tailwind
colors: {
  custom: {
    50: '#e2e683',
    500: '#d1dc47',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc47;
$custom-light: #e2e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc47",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 64.43,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85957,
    "c": 0.16711,
    "h": 113.5
  },
  "luminance": 0.65197
}

Semantic roles & 50–950 ramp

primary
#D1DC47
secondary
#3B3493
accent
#3DEB4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1DC47

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

Preview Lab → · Contrast checker → · Palette generator →

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