#D4D548#D4D548

#D4D548 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.158 H 109.8°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#D4D548
RGBrgb(212, 213, 72)
HSLhsl(60, 63%, 56%)
HSVhsv(60, 66%, 84%)
CMYKcmyk(0.5%, 0%, 66.2%, 16.5%)
CIE-LABlab(82.94, -17.23, 66.47)
CIE-LCHlch(82.94, 68.67, 104.53°)
OKLaboklab(84.7% -0.0536 0.1492)
OKLCHoklch(84.7% 0.158 109.8)
XYZxyz(52.1170, 62.0549, 15.3621)
Luminance0.6205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D548 #4948D5
analogous
#D59048 #D4D548 #8DD548
triadic
#D4D548 #48D4D5 #D548D4
tetradic
#D4D548 #48D590 #4948D5 #D5488D
square
#D4D548 #48D590 #4948D5 #D5488D
split-complementary
#D4D548 #488DD5 #9048D5
monochromatic
#84841E #B5B62A #D4D548 #E0E07A #EBECAC

Accessibility & contrast

On white

1.57
#D4D548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#D4D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D548
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D548#FFFFFF#000000##000000
##D4D5481.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d548;
/* rgb */ color: rgb(212, 213, 72);
/* oklch */ color: oklch(84.7% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e183',
    500: '#d4d548',
    950: '#000000',
  },
}
SCSS
$custom: #d4d548;
$custom-light: #e5e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d548",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 60.426,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84702,
    "c": 0.15849,
    "h": 109.8
  },
  "luminance": 0.62053
}

Semantic roles & 50–950 ramp

primary
#D4D548
secondary
#37368B
accent
#42E643
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D548

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

Preview Lab → · Contrast checker → · Palette generator →

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