#D2DF5D#D2DF5D

#D2DF5D is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.9% C 0.154 H 114.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#D2DF5D
RGBrgb(210, 223, 93)
HSLhsl(66, 67%, 62%)
HSVhsv(66, 58%, 87%)
CMYKcmyk(5.8%, 0%, 58.3%, 12.5%)
CIE-LABlab(85.64, -21.59, 60.72)
CIE-LCHlch(85.64, 64.44, 109.57°)
OKLaboklab(86.87% -0.0636 0.14)
OKLCHoklch(86.87% 0.154 114.4)
XYZxyz(54.9430, 67.2682, 20.4435)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF5D #6A5DDF
analogous
#DFAB5D #D2DF5D #91DF5D
triadic
#D2DF5D #5DD2DF #DF5DD2
tetradic
#D2DF5D #5DDFAB #6A5DDF #DF5D91
square
#D2DF5D #5DDFAB #6A5DDF #DF5D91
split-complementary
#D2DF5D #5D91DF #AB5DDF
monochromatic
#95A220 #C4D52A #D2DF5D #E0E990 #EEF3C3

Accessibility & contrast

On white

1.45
#D2DF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#D2DF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF5D
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF5D#FFFFFF#000000##000000
##D2DF5D1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54E
Deuteranopia (green-blind)
#EDD765
Tritanopia (blue-blind)
#DED3C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df5d;
/* rgb */ color: rgb(210, 223, 93);
/* oklch */ color: oklch(86.9% 0.154 114.4);
Tailwind
colors: {
  custom: {
    50: '#e2e890',
    500: '#d2df5d',
    950: '#000000',
  },
}
SCSS
$custom: #d2df5d;
$custom-light: #e2e890;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df5d",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 66,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86874,
    "c": 0.15374,
    "h": 114.4
  },
  "luminance": 0.67267
}

Semantic roles & 50–950 ramp

primary
#D2DF5D
secondary
#463CA5
accent
#17CF29
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2DF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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