#D2DF4F#D2DF4F

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

Color values

HEX#D2DF4F
RGBrgb(210, 223, 79)
HSLhsl(65, 69%, 59%)
HSVhsv(65, 65%, 87%)
CMYKcmyk(5.8%, 0%, 64.6%, 12.5%)
CIE-LABlab(85.53, -22.53, 66.36)
CIE-LCHlch(85.53, 70.08, 108.75°)
OKLaboklab(86.75% -0.0676 0.1501)
OKLCHoklch(86.75% 0.165 114.3)
XYZxyz(54.3787, 67.0425, 17.4715)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF4F #5C4FDF
analogous
#DFA44F #D2DF4F #8ADF4F
triadic
#D2DF4F #4FD2DF #DF4FD2
tetradic
#D2DF4F #4FDFA4 #5C4FDF #DF4F8A
square
#D2DF4F #4FDFA4 #5C4FDF #DF4F8A
split-complementary
#D2DF4F #4F8ADF #A44FDF
monochromatic
#8D981C #BDCC25 #D2DF4F #DFE883 #ECF2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2DF4F#FFFFFF#000000##000000
##D2DF4F1.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)
#EED43B
Deuteranopia (green-blind)
#EED759
Tritanopia (blue-blind)
#DFD2C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df4f;
/* rgb */ color: rgb(210, 223, 79);
/* oklch */ color: oklch(86.7% 0.165 114.3);
Tailwind
colors: {
  custom: {
    50: '#e3e887',
    500: '#d2df4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2df4f;
$custom-light: #e3e887;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df4f",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 65.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86746,
    "c": 0.16458,
    "h": 114.3
  },
  "luminance": 0.67042
}

Semantic roles & 50–950 ramp

primary
#D2DF4F
secondary
#3F369C
accent
#3CEC4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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