#D1DC45#D1DC45

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

Color values

HEX#D1DC45
RGBrgb(209, 220, 69)
HSLhsl(64, 68%, 57%)
HSVhsv(64, 69%, 86%)
CMYKcmyk(5%, 0%, 68.6%, 13.7%)
CIE-LABlab(84.57, -22.05, 69.16)
CIE-LCHlch(84.57, 72.59, 107.69°)
OKLaboklab(85.94% -0.0672 0.1544)
OKLCHoklch(85.94% 0.168 113.5)
XYZxyz(52.9634, 65.1725, 15.4186)
Luminance0.6517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DC45 #5045DC
analogous
#DC9C45 #D1DC45 #86DC45
triadic
#D1DC45 #45D1DC #DC45D1
tetradic
#D1DC45 #45DC9C #5045DC #DC4586
square
#D1DC45 #45DC9C #5045DC #DC4586
split-complementary
#D1DC45 #4586DC #9C45DC
monochromatic
#848C1A #B4C024 #D1DC45 #DEE679 #EAEFAC

Accessibility & contrast

On white

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

On black

14.03
#D1DC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DC45
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DC45#FFFFFF#000000##000000
##D1DC451.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1dc45;
/* rgb */ color: rgb(209, 220, 69);
/* oklch */ color: oklch(85.9% 0.168 113.5);
Tailwind
colors: {
  custom: {
    50: '#e3e682',
    500: '#d1dc45',
    950: '#000000',
  },
}
SCSS
$custom: #d1dc45;
$custom-light: #e3e682;
$custom-dark: #000000;
JSON
{
  "hex": "#d1dc45",
  "rgb": {
    "r": 209,
    "g": 220,
    "b": 69
  },
  "hsl": {
    "h": 64.371,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85943,
    "c": 0.1684,
    "h": 113.5
  },
  "luminance": 0.65171
}

Semantic roles & 50–950 ramp

primary
#D1DC45
secondary
#3A3392
accent
#3DEB49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1DC45

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

Preview Lab → · Contrast checker → · Palette generator →

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