#D8D048#D8D048

#D8D048 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.153 H 106.0°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D8D048
RGBrgb(216, 208, 72)
HSLhsl(57, 65%, 56%)
HSVhsv(57, 67%, 85%)
CMYKcmyk(0%, 3.7%, 66.7%, 15.3%)
CIE-LABlab(81.94, -13.08, 65.55)
CIE-LCHlch(81.94, 66.84, 101.28°)
OKLaboklab(83.98% -0.0421 0.1471)
OKLCHoklch(83.98% 0.153 106)
XYZxyz(52.0464, 60.1804, 15.0040)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D048 #4850D8
analogous
#D88848 #D8D048 #98D848
triadic
#D8D048 #48D8D0 #D048D8
tetradic
#D8D048 #48D888 #4850D8 #D84898
square
#D8D048 #48D888 #4850D8 #D84898
split-complementary
#D8D048 #4898D8 #8848D8
monochromatic
#89831D #BBB328 #D8D048 #E3DD7A #EEEAAD

Accessibility & contrast

On white

1.61
#D8D048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#D8D048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D048
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D048#FFFFFF#000000##000000
##D8D0481.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C935
Deuteranopia (green-blind)
#E5CE51
Tritanopia (blue-blind)
#E7C3B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d048;
/* rgb */ color: rgb(216, 208, 72);
/* oklch */ color: oklch(84.0% 0.153 106.0);
Tailwind
colors: {
  custom: {
    50: '#e7de82',
    500: '#d8d048',
    950: '#000000',
  },
}
SCSS
$custom: #d8d048;
$custom-light: #e7de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d048",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 56.667,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83978,
    "c": 0.15301,
    "h": 106
  },
  "luminance": 0.60179
}

Semantic roles & 50–950 ramp

primary
#D8D048
secondary
#363B8F
accent
#49E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D048

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

Preview Lab → · Contrast checker → · Palette generator →

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