#D8DD48#D8DD48

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

Color values

HEX#D8DD48
RGBrgb(216, 221, 72)
HSLhsl(62, 69%, 57%)
HSVhsv(62, 67%, 87%)
CMYKcmyk(2.3%, 0%, 67.4%, 13.3%)
CIE-LABlab(85.39, -19.51, 69.05)
CIE-LCHlch(85.39, 71.75, 105.78°)
OKLaboklab(86.74% -0.0602 0.1545)
OKLCHoklch(86.74% 0.166 111.3)
XYZxyz(55.3468, 66.7811, 16.1042)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD48 #4D48DD
analogous
#DD9748 #D8DD48 #8EDD48
triadic
#D8DD48 #48D8DD #DD48D8
tetradic
#D8DD48 #48DD97 #4D48DD #DD488E
square
#D8DD48 #48DD97 #4D48DD #DD488E
split-complementary
#D8DD48 #488EDD #9748DD
monochromatic
#8C901B #BEC324 #D8DD48 #E3E77C #EEF0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DD48#FFFFFF#000000##000000
##D8DD481.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)
#EED331
Deuteranopia (green-blind)
#EFD753
Tritanopia (blue-blind)
#E6D0BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dd48;
/* rgb */ color: rgb(216, 221, 72);
/* oklch */ color: oklch(86.7% 0.166 111.3);
Tailwind
colors: {
  custom: {
    50: '#e7e783',
    500: '#d8dd48',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd48;
$custom-light: #e7e783;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd48",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 72
  },
  "hsl": {
    "h": 62.013,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86737,
    "c": 0.16578,
    "h": 111.3
  },
  "luminance": 0.6678
}

Semantic roles & 50–950 ramp

primary
#D8DD48
secondary
#373495
accent
#3CEC42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8DD48

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

Preview Lab → · Contrast checker → · Palette generator →

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