#D2DF5E#D2DF5E

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

Color values

HEX#D2DF5E
RGBrgb(210, 223, 94)
HSLhsl(66, 67%, 62%)
HSVhsv(66, 58%, 87%)
CMYKcmyk(5.8%, 0%, 57.8%, 12.5%)
CIE-LABlab(85.65, -21.51, 60.30)
CIE-LCHlch(85.65, 64.02, 109.64°)
OKLaboklab(86.88% -0.0633 0.1392)
OKLCHoklch(86.88% 0.153 114.4)
XYZxyz(54.9876, 67.2860, 20.6783)
Luminance0.6728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF5E #6B5EDF
analogous
#DFAC5E #D2DF5E #91DF5E
triadic
#D2DF5E #5ED2DF #DF5ED2
tetradic
#D2DF5E #5EDFAC #6B5EDF #DF5E91
square
#D2DF5E #5EDFAC #6B5EDF #DF5E91
split-complementary
#D2DF5E #5E91DF #AC5EDF
monochromatic
#95A220 #C4D52B #D2DF5E #E0E991 #EFF3C4

Accessibility & contrast

On white

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

On black

14.46
#D2DF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF5E
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF5E#FFFFFF#000000##000000
##D2DF5E1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2df5e;
/* rgb */ color: rgb(210, 223, 94);
/* oklch */ color: oklch(86.9% 0.153 114.4);
Tailwind
colors: {
  custom: {
    50: '#e2e890',
    500: '#d2df5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2df5e;
$custom-light: #e2e890;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df5e",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 66.047,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86884,
    "c": 0.1529,
    "h": 114.4
  },
  "luminance": 0.67285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2DF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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