#D2DF40#D2DF40

#D2DF40 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.6% C 0.174 H 114.1°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#D2DF40
RGBrgb(210, 223, 64)
HSLhsl(65, 71%, 56%)
HSVhsv(65, 71%, 87%)
CMYKcmyk(5.8%, 0%, 71.3%, 12.5%)
CIE-LABlab(85.43, -23.34, 71.78)
CIE-LCHlch(85.43, 75.48, 108.02°)
OKLaboklab(86.64% -0.0713 0.1591)
OKLCHoklch(86.64% 0.174 114.1)
XYZxyz(53.8930, 66.8482, 14.9135)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF40 #4D40DF
analogous
#DF9D40 #D2DF40 #83DF40
triadic
#D2DF40 #40D2DF #DF40D2
tetradic
#D2DF40 #40DF9D #4D40DF #DF4083
square
#D2DF40 #40DF9D #4D40DF #DF4083
split-complementary
#D2DF40 #4083DF #9D40DF
monochromatic
#838D18 #B4C120 #D2DF40 #DEE874 #EBF1A9

Accessibility & contrast

On white

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

On black

14.37
#D2DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF40
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF40#FFFFFF#000000##000000
##D2DF401.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD422
Deuteranopia (green-blind)
#EFD74D
Tritanopia (blue-blind)
#E0D2C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2df40;
/* rgb */ color: rgb(210, 223, 64);
/* oklch */ color: oklch(86.6% 0.174 114.1);
Tailwind
colors: {
  custom: {
    50: '#e3e87f',
    500: '#d2df40',
    950: '#000000',
  },
}
SCSS
$custom: #d2df40;
$custom-light: #e3e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df40",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 64.906,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86636,
    "c": 0.17434,
    "h": 114.1
  },
  "luminance": 0.66847
}

Semantic roles & 50–950 ramp

primary
#D2DF40
secondary
#393192
accent
#3AEE48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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