#D2DD54#D2DD54

#D2DD54 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.4% C 0.159 H 113.6°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#D2DD54
RGBrgb(210, 221, 84)
HSLhsl(65, 67%, 60%)
HSVhsv(65, 62%, 87%)
CMYKcmyk(5%, 0%, 62%, 13.3%)
CIE-LABlab(85.02, -21.24, 63.83)
CIE-LCHlch(85.02, 67.27, 108.41°)
OKLaboklab(86.36% -0.0635 0.1454)
OKLCHoklch(86.36% 0.159 113.6)
XYZxyz(54.0364, 66.0557, 18.2892)
Luminance0.6605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD54 #5F54DD
analogous
#DDA454 #D2DD54 #8DDD54
triadic
#D2DD54 #54D2DD #DD54D2
tetradic
#D2DD54 #54DDA4 #5F54DD #DD548D
square
#D2DD54 #54DDA4 #5F54DD #DD548D
split-complementary
#D2DD54 #548DDD #A454DD
monochromatic
#8F981E #BECB28 #D2DD54 #DFE787 #EDF1BA

Accessibility & contrast

On white

1.48
#D2DD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#D2DD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD54
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD54#FFFFFF#000000##000000
##D2DD541.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD343
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#DFD1C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dd54;
/* rgb */ color: rgb(210, 221, 84);
/* oklch */ color: oklch(86.4% 0.159 113.6);
Tailwind
colors: {
  custom: {
    50: '#e3e78a',
    500: '#d2dd54',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd54;
$custom-light: #e3e78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd54",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 84
  },
  "hsl": {
    "h": 64.818,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86358,
    "c": 0.15868,
    "h": 113.6
  },
  "luminance": 0.66055
}

Semantic roles & 50–950 ramp

primary
#D2DD54
secondary
#41399C
accent
#3EEA4C
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D2DD54

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

Preview Lab → · Contrast checker → · Palette generator →

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