#D2DC5D#D2DC5D

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

Color values

HEX#D2DC5D
RGBrgb(210, 220, 93)
HSLhsl(65, 64%, 61%)
HSVhsv(65, 58%, 86%)
CMYKcmyk(4.5%, 0%, 57.7%, 13.7%)
CIE-LABlab(84.83, -20.13, 59.82)
CIE-LCHlch(84.83, 63.12, 108.60°)
OKLaboklab(86.23% -0.0594 0.1381)
OKLCHoklch(86.23% 0.15 113.3)
XYZxyz(54.1486, 65.6794, 20.1787)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC5D #675DDC
analogous
#DCA75D #D2DC5D #93DC5D
triadic
#D2DC5D #5DD2DC #DC5DD2
tetradic
#D2DC5D #5DDCA7 #675DDC #DC5D93
square
#D2DC5D #5DDCA7 #675DDC #DC5D93
split-complementary
#D2DC5D #5D93DC #A75DDC
monochromatic
#939D22 #C2CF2D #D2DC5D #E0E78F #EEF2C2

Accessibility & contrast

On white

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

On black

14.14
#D2DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC5D
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC5D#FFFFFF#000000##000000
##D2DC5D1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2dc5d;
/* rgb */ color: rgb(210, 220, 93);
/* oklch */ color: oklch(86.2% 0.150 113.3);
Tailwind
colors: {
  custom: {
    50: '#e2e68f',
    500: '#d2dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc5d;
$custom-light: #e2e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc5d",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 64.724,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86229,
    "c": 0.15033,
    "h": 113.3
  },
  "luminance": 0.65678
}

Semantic roles & 50–950 ramp

primary
#D2DC5D
secondary
#453DA1
accent
#19CC27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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