#D2DC45#D2DC45

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

Color values

HEX#D2DC45
RGBrgb(210, 220, 69)
HSLhsl(64, 68%, 57%)
HSVhsv(64, 69%, 86%)
CMYKcmyk(4.5%, 0%, 68.6%, 13.7%)
CIE-LABlab(84.65, -21.64, 69.25)
CIE-LCHlch(84.65, 72.56, 107.36°)
OKLaboklab(86.02% -0.0661 0.1546)
OKLCHoklch(86.02% 0.168 113.1)
XYZxyz(53.2473, 65.3188, 15.4319)
Luminance0.6532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC45 #4F45DC
analogous
#DC9B45 #D2DC45 #86DC45
triadic
#D2DC45 #45D2DC #DC45D2
tetradic
#D2DC45 #45DC9B #4F45DC #DC4586
square
#D2DC45 #45DC9B #4F45DC #DC4586
split-complementary
#D2DC45 #4586DC #9B45DC
monochromatic
#858C1A #B5C024 #D2DC45 #DEE679 #EBEFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2DC45#FFFFFF#000000##000000
##D2DC451.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)
#ECD22C
Deuteranopia (green-blind)
#ECD550
Tritanopia (blue-blind)
#E0CFBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc45;
/* rgb */ color: rgb(210, 220, 69);
/* oklch */ color: oklch(86.0% 0.168 113.1);
Tailwind
colors: {
  custom: {
    50: '#e3e682',
    500: '#d2dc45',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc45;
$custom-light: #e3e682;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc45",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 69
  },
  "hsl": {
    "h": 63.974,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.86022,
    "c": 0.16814,
    "h": 113.1
  },
  "luminance": 0.65318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2DC45

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

Preview Lab → · Contrast checker → · Palette generator →

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