#D2DF54#D2DF54

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

Color values

HEX#D2DF54
RGBrgb(210, 223, 84)
HSLhsl(66, 68%, 60%)
HSVhsv(66, 62%, 87%)
CMYKcmyk(5.8%, 0%, 62.3%, 12.5%)
CIE-LABlab(85.56, -22.21, 64.40)
CIE-LCHlch(85.56, 68.13, 109.03°)
OKLaboklab(86.79% -0.0662 0.1466)
OKLCHoklch(86.79% 0.161 114.3)
XYZxyz(54.5676, 67.1180, 18.4663)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF54 #6154DF
analogous
#DFA754 #D2DF54 #8CDF54
triadic
#D2DF54 #54D2DF #DF54D2
tetradic
#D2DF54 #54DFA7 #6154DF #DF548C
square
#D2DF54 #54DFA7 #6154DF #DF548C
split-complementary
#D2DF54 #548CDF #A754DF
monochromatic
#909C1D #BFCF27 #D2DF54 #E0E988 #EDF2BB

Accessibility & contrast

On white

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

On black

14.42
#D2DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF54
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF54#FFFFFF#000000##000000
##D2DF541.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2df54;
/* rgb */ color: rgb(210, 223, 84);
/* oklch */ color: oklch(86.8% 0.161 114.3);
Tailwind
colors: {
  custom: {
    50: '#e3e88a',
    500: '#d2df54',
    950: '#000000',
  },
}
SCSS
$custom: #d2df54;
$custom-light: #e3e88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df54",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 65.612,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86789,
    "c": 0.16089,
    "h": 114.3
  },
  "luminance": 0.67117
}

Semantic roles & 50–950 ramp

primary
#D2DF54
secondary
#42389F
accent
#15D027
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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