#D1D548#D1D548

#D1D548 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.5% C 0.159 H 110.9°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D1D548
RGBrgb(209, 213, 72)
HSLhsl(62, 63%, 56%)
HSVhsv(62, 66%, 84%)
CMYKcmyk(1.9%, 0%, 66.2%, 16.5%)
CIE-LABlab(82.71, -18.47, 66.16)
CIE-LCHlch(82.71, 68.69, 105.60°)
OKLaboklab(84.46% -0.0569 0.1486)
OKLCHoklch(84.46% 0.159 110.9)
XYZxyz(51.2600, 61.6130, 15.3219)
Luminance0.6161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D548 #4C48D5
analogous
#D59248 #D1D548 #8AD548
triadic
#D1D548 #48D1D5 #D548D1
tetradic
#D1D548 #48D592 #4C48D5 #D5488A
square
#D1D548 #48D592 #4C48D5 #D5488A
split-complementary
#D1D548 #488AD5 #9248D5
monochromatic
#81841E #B2B62A #D1D548 #DEE07A #EAECAC

Accessibility & contrast

On white

1.58
#D1D548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#D1D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D548
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D548#FFFFFF#000000##000000
##D1D5481.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC33
Deuteranopia (green-blind)
#E6D052
Tritanopia (blue-blind)
#DFC8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d548;
/* rgb */ color: rgb(209, 213, 72);
/* oklch */ color: oklch(84.5% 0.159 110.9);
Tailwind
colors: {
  custom: {
    50: '#e2e183',
    500: '#d1d548',
    950: '#000000',
  },
}
SCSS
$custom: #d1d548;
$custom-light: #e2e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d548",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 61.702,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84457,
    "c": 0.1591,
    "h": 110.9
  },
  "luminance": 0.61612
}

Semantic roles & 50–950 ramp

primary
#D1D548
secondary
#39368B
accent
#42E647
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D548

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

Preview Lab → · Contrast checker → · Palette generator →

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