#D2DF56#D2DF56

#D2DF56 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.8% C 0.159 H 114.3°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#D2DF56
RGBrgb(210, 223, 86)
HSLhsl(66, 68%, 61%)
HSVhsv(66, 61%, 87%)
CMYKcmyk(5.8%, 0%, 61.4%, 12.5%)
CIE-LABlab(85.58, -22.08, 63.60)
CIE-LCHlch(85.58, 67.33, 109.14°)
OKLaboklab(86.81% -0.0657 0.1452)
OKLCHoklch(86.81% 0.159 114.3)
XYZxyz(54.6470, 67.1498, 18.8848)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF56 #6356DF
analogous
#DFA756 #D2DF56 #8EDF56
triadic
#D2DF56 #56D2DF #DF56D2
tetradic
#D2DF56 #56DFA7 #6356DF #DF568E
square
#D2DF56 #56DFA7 #6356DF #DF568E
split-complementary
#D2DF56 #568EDF #A756DF
monochromatic
#919D1E #C0D027 #D2DF56 #E0E989 #EDF2BD

Accessibility & contrast

On white

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

On black

14.43
#D2DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF56
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF56#FFFFFF#000000##000000
##D2DF561.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED545
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#DFD3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d2df56;
/* rgb */ color: rgb(210, 223, 86);
/* oklch */ color: oklch(86.8% 0.159 114.3);
Tailwind
colors: {
  custom: {
    50: '#e3e88b',
    500: '#d2df56',
    950: '#000000',
  },
}
SCSS
$custom: #d2df56;
$custom-light: #e3e88b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df56",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 65.693,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86807,
    "c": 0.15936,
    "h": 114.3
  },
  "luminance": 0.67149
}

Semantic roles & 50–950 ramp

primary
#D2DF56
secondary
#4339A0
accent
#15D027
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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