#D4D552#D4D552

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

Color values

HEX#D4D552
RGBrgb(212, 213, 82)
HSLhsl(60, 61%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0.5%, 0%, 61.5%, 16.5%)
CIE-LABlab(83.02, -16.63, 62.56)
CIE-LCHlch(83.02, 64.73, 104.89°)
OKLaboklab(84.79% -0.0508 0.1424)
OKLCHoklch(84.79% 0.151 109.6)
XYZxyz(52.4702, 62.1962, 17.2221)
Luminance0.6220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D552 #5352D5
analogous
#D59452 #D4D552 #92D552
triadic
#D4D552 #52D4D5 #D552D4
tetradic
#D4D552 #52D594 #5352D5 #D55292
square
#D4D552 #52D594 #5352D5 #D55292
split-complementary
#D4D552 #5292D5 #9452D5
monochromatic
#8A8B22 #BBBC2E #D4D552 #E0E183 #ECEDB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D552#FFFFFF#000000##000000
##D4D5521.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)
#E5CC42
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#E2C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d552;
/* rgb */ color: rgb(212, 213, 82);
/* oklch */ color: oklch(84.8% 0.151 109.6);
Tailwind
colors: {
  custom: {
    50: '#e4e188',
    500: '#d4d552',
    950: '#000000',
  },
}
SCSS
$custom: #d4d552;
$custom-light: #e4e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d552",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 60.458,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84786,
    "c": 0.15121,
    "h": 109.6
  },
  "luminance": 0.62195
}

Semantic roles & 50–950 ramp

primary
#D4D552
secondary
#3B3A91
accent
#44E445
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D552

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

Preview Lab → · Contrast checker → · Palette generator →

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