#D8D548#D8D548

#D8D548 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.0% C 0.158 H 108.1°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#D8D548
RGBrgb(216, 213, 72)
HSLhsl(59, 65%, 56%)
HSVhsv(59, 67%, 85%)
CMYKcmyk(0%, 1.4%, 66.7%, 15.3%)
CIE-LABlab(83.26, -15.57, 66.90)
CIE-LCHlch(83.26, 68.69, 103.10°)
OKLaboklab(85.04% -0.0491 0.15)
OKLCHoklch(85.04% 0.158 108.1)
XYZxyz(53.2847, 62.6570, 15.4168)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D548 #484BD8
analogous
#D88D48 #D8D548 #93D848
triadic
#D8D548 #48D8D5 #D548D8
tetradic
#D8D548 #48D88D #484BD8 #D84893
square
#D8D548 #48D88D #484BD8 #D84893
split-complementary
#D8D548 #4893D8 #8D48D8
monochromatic
#89861D #BBB828 #D8D548 #E3E17A #EEECAD

Accessibility & contrast

On white

1.55
#D8D548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#D8D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D548
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D548#FFFFFF#000000##000000
##D8D5481.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD33
Deuteranopia (green-blind)
#E8D251
Tritanopia (blue-blind)
#E7C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d548;
/* rgb */ color: rgb(216, 213, 72);
/* oklch */ color: oklch(85.0% 0.158 108.1);
Tailwind
colors: {
  custom: {
    50: '#e7e183',
    500: '#d8d548',
    950: '#000000',
  },
}
SCSS
$custom: #d8d548;
$custom-light: #e7e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d548",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 58.75,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85035,
    "c": 0.15779,
    "h": 108.1
  },
  "luminance": 0.62655
}

Semantic roles & 50–950 ramp

primary
#D8D548
secondary
#36378F
accent
#43E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D548

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

Preview Lab → · Contrast checker → · Palette generator →

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