#D2DF4E#D2DF4E

#D2DF4E is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.7% C 0.165 H 114.2°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#D2DF4E
RGBrgb(210, 223, 78)
HSLhsl(65, 69%, 59%)
HSVhsv(65, 65%, 87%)
CMYKcmyk(5.8%, 0%, 65%, 12.5%)
CIE-LABlab(85.52, -22.59, 66.75)
CIE-LCHlch(85.52, 70.46, 108.70°)
OKLaboklab(86.74% -0.0679 0.1507)
OKLCHoklch(86.74% 0.165 114.2)
XYZxyz(54.3426, 67.0280, 17.2813)
Luminance0.6703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF4E #5B4EDF
analogous
#DFA44E #D2DF4E #8ADF4E
triadic
#D2DF4E #4ED2DF #DF4ED2
tetradic
#D2DF4E #4EDFA4 #5B4EDF #DF4E8A
square
#D2DF4E #4EDFA4 #5B4EDF #DF4E8A
split-complementary
#D2DF4E #4E8ADF #A44EDF
monochromatic
#8C971B #BCCB25 #D2DF4E #DFE882 #ECF2B6

Accessibility & contrast

On white

1.46
#D2DF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#D2DF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF4E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF4E#FFFFFF#000000##000000
##D2DF4E1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD43A
Deuteranopia (green-blind)
#EED758
Tritanopia (blue-blind)
#DFD2C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df4e;
/* rgb */ color: rgb(210, 223, 78);
/* oklch */ color: oklch(86.7% 0.165 114.2);
Tailwind
colors: {
  custom: {
    50: '#e3e887',
    500: '#d2df4e',
    950: '#000000',
  },
}
SCSS
$custom: #d2df4e;
$custom-light: #e3e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df4e",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 78
  },
  "hsl": {
    "h": 65.379,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86738,
    "c": 0.16529,
    "h": 114.2
  },
  "luminance": 0.67027
}

Semantic roles & 50–950 ramp

primary
#D2DF4E
secondary
#3F369B
accent
#3CEC4B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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