#D5D548#D5D548

#D5D548 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.8% C 0.158 H 109.3°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#D5D548
RGBrgb(213, 213, 72)
HSLhsl(60, 63%, 56%)
HSVhsv(60, 66%, 84%)
CMYKcmyk(0%, 0%, 66.2%, 16.5%)
CIE-LABlab(83.02, -16.82, 66.58)
CIE-LCHlch(83.02, 68.67, 104.18°)
OKLaboklab(84.79% -0.0524 0.1494)
OKLCHoklch(84.79% 0.158 109.3)
XYZxyz(52.4063, 62.2040, 15.3756)
Luminance0.6220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D548 #4848D5
analogous
#D58E48 #D5D548 #8ED548
triadic
#D5D548 #48D5D5 #D548D5
tetradic
#D5D548 #48D58E #4848D5 #D5488E
square
#D5D548 #48D58E #4848D5 #D5488E
split-complementary
#D5D548 #488ED5 #8E48D5
monochromatic
#84841E #B6B62A #D5D548 #E0E07A #ECECAC

Accessibility & contrast

On white

1.56
#D5D548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#D5D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D548
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D548#FFFFFF#000000##000000
##D5D5481.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC33
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#E4C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d548;
/* rgb */ color: rgb(213, 213, 72);
/* oklch */ color: oklch(84.8% 0.158 109.3);
Tailwind
colors: {
  custom: {
    50: '#e5e183',
    500: '#d5d548',
    950: '#000000',
  },
}
SCSS
$custom: #d5d548;
$custom-light: #e5e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d548",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84785,
    "c": 0.1583,
    "h": 109.3
  },
  "luminance": 0.62203
}

Semantic roles & 50–950 ramp

primary
#D5D548
secondary
#36368B
accent
#42E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D548

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

Preview Lab → · Contrast checker → · Palette generator →

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