#D2DC5C#D2DC5C

#D2DC5C is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.2% C 0.151 H 113.3°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#D2DC5C
RGBrgb(210, 220, 92)
HSLhsl(65, 65%, 61%)
HSVhsv(65, 58%, 86%)
CMYKcmyk(4.5%, 0%, 58.2%, 13.7%)
CIE-LABlab(84.82, -20.20, 60.24)
CIE-LCHlch(84.82, 63.54, 108.54°)
OKLaboklab(86.22% -0.0598 0.1389)
OKLCHoklch(86.22% 0.151 113.3)
XYZxyz(54.1046, 65.6618, 19.9470)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC5C #665CDC
analogous
#DCA65C #D2DC5C #92DC5C
triadic
#D2DC5C #5CD2DC #DC5CD2
tetradic
#D2DC5C #5CDCA6 #665CDC #DC5C92
square
#D2DC5C #5CDCA6 #665CDC #DC5C92
split-complementary
#D2DC5C #5C92DC #A65CDC
monochromatic
#939C22 #C2CE2C #D2DC5C #E0E78E #EEF2C1

Accessibility & contrast

On white

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

On black

14.13
#D2DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC5C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC5C#FFFFFF#000000##000000
##D2DC5C1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24E
Deuteranopia (green-blind)
#EBD564
Tritanopia (blue-blind)
#DFD0C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dc5c;
/* rgb */ color: rgb(210, 220, 92);
/* oklch */ color: oklch(86.2% 0.151 113.3);
Tailwind
colors: {
  custom: {
    50: '#e2e68f',
    500: '#d2dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc5c;
$custom-light: #e2e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc5c",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 64.688,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86219,
    "c": 0.15116,
    "h": 113.3
  },
  "luminance": 0.65661
}

Semantic roles & 50–950 ramp

primary
#D2DC5C
secondary
#443CA0
accent
#19CC27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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