#D9D548#D9D548

#D9D548 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.158 H 107.7°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D9D548
RGBrgb(217, 213, 72)
HSLhsl(58, 66%, 57%)
HSVhsv(58, 67%, 85%)
CMYKcmyk(0%, 1.8%, 66.8%, 14.9%)
CIE-LABlab(83.34, -15.16, 67.01)
CIE-LCHlch(83.34, 68.70, 102.75°)
OKLaboklab(85.12% -0.048 0.1502)
OKLCHoklch(85.12% 0.158 107.7)
XYZxyz(53.5811, 62.8098, 15.4307)
Luminance0.6281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D548 #484CD9
analogous
#D98D48 #D9D548 #95D948
triadic
#D9D548 #48D9D5 #D548D9
tetradic
#D9D548 #48D98D #484CD9 #D94895
square
#D9D548 #48D98D #484CD9 #D94895
split-complementary
#D9D548 #4895D9 #8D48D9
monochromatic
#8A871D #BDB927 #D9D548 #E4E17B #EEECAD

Accessibility & contrast

On white

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

On black

13.56
#D9D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D548
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D548#FFFFFF#000000##000000
##D9D5481.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD33
Deuteranopia (green-blind)
#E9D251
Tritanopia (blue-blind)
#E8C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d548;
/* rgb */ color: rgb(217, 213, 72);
/* oklch */ color: oklch(85.1% 0.158 107.7);
Tailwind
colors: {
  custom: {
    50: '#e8e183',
    500: '#d9d548',
    950: '#000000',
  },
}
SCSS
$custom: #d9d548;
$custom-light: #e8e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d548",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 58.345,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85118,
    "c": 0.15764,
    "h": 107.7
  },
  "luminance": 0.62808
}

Semantic roles & 50–950 ramp

primary
#D9D548
secondary
#353890
accent
#44E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D548

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

Preview Lab → · Contrast checker → · Palette generator →

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