#D2DF3C#D2DF3C

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

Color values

HEX#D2DF3C
RGBrgb(210, 223, 60)
HSLhsl(65, 72%, 55%)
HSVhsv(65, 73%, 87%)
CMYKcmyk(5.8%, 0%, 73.1%, 12.5%)
CIE-LABlab(85.41, -23.53, 73.09)
CIE-LCHlch(85.41, 76.79, 107.84°)
OKLaboklab(86.61% -0.0722 0.1612)
OKLCHoklch(86.61% 0.177 114.1)
XYZxyz(53.7832, 66.8043, 14.3354)
Luminance0.6680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF3C #493CDF
analogous
#DF9A3C #D2DF3C #81DF3C
triadic
#D2DF3C #3CD2DF #DF3CD2
tetradic
#D2DF3C #3CDF9A #493CDF #DF3C81
square
#D2DF3C #3CDF9A #493CDF #DF3C81
split-complementary
#D2DF3C #3C81DF #9A3CDF
monochromatic
#818A17 #B2BF1F #D2DF3C #DEE871 #EAF0A5

Accessibility & contrast

On white

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

On black

14.36
#D2DF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF3C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF3C#FFFFFF#000000##000000
##D2DF3C1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2df3c;
/* rgb */ color: rgb(210, 223, 60);
/* oklch */ color: oklch(86.6% 0.177 114.1);
Tailwind
colors: {
  custom: {
    50: '#e4e87d',
    500: '#d2df3c',
    950: '#000000',
  },
}
SCSS
$custom: #d2df3c;
$custom-light: #e4e87d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df3c",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 60
  },
  "hsl": {
    "h": 64.785,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.86612,
    "c": 0.17661,
    "h": 114.1
  },
  "luminance": 0.66803
}

Semantic roles & 50–950 ramp

primary
#D2DF3C
secondary
#373090
accent
#39EF48
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D2DF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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