#D2DD48#D2DD48

#D2DD48 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.3% C 0.167 H 113.5°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#D2DD48
RGBrgb(210, 221, 72)
HSLhsl(64, 69%, 57%)
HSVhsv(64, 67%, 87%)
CMYKcmyk(5%, 0%, 67.4%, 13.3%)
CIE-LABlab(84.94, -21.97, 68.44)
CIE-LCHlch(84.94, 71.88, 107.79°)
OKLaboklab(86.26% -0.0667 0.1534)
OKLCHoklch(86.26% 0.167 113.5)
XYZxyz(53.6060, 65.8835, 16.0226)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD48 #5348DD
analogous
#DD9E48 #D2DD48 #87DD48
triadic
#D2DD48 #48D2DD #DD48D2
tetradic
#D2DD48 #48DD9E #5348DD #DD4887
square
#D2DD48 #48DD9E #5348DD #DD4887
split-complementary
#D2DD48 #4887DD #9E48DD
monochromatic
#87901B #B8C324 #D2DD48 #DFE77C #EBF0AF

Accessibility & contrast

On white

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

On black

14.18
#D2DD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD48
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD48#FFFFFF#000000##000000
##D2DD481.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD331
Deuteranopia (green-blind)
#EDD653
Tritanopia (blue-blind)
#E0D0BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dd48;
/* rgb */ color: rgb(210, 221, 72);
/* oklch */ color: oklch(86.3% 0.167 113.5);
Tailwind
colors: {
  custom: {
    50: '#e3e783',
    500: '#d2dd48',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd48;
$custom-light: #e3e783;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd48",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 72
  },
  "hsl": {
    "h": 64.43,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86259,
    "c": 0.16724,
    "h": 113.5
  },
  "luminance": 0.65882
}

Semantic roles & 50–950 ramp

primary
#D2DD48
secondary
#3B3495
accent
#3CEC49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #D2DD48

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

Preview Lab → · Contrast checker → · Palette generator →

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