#D4D551#D4D551

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

Color values

HEX#D4D551
RGBrgb(212, 213, 81)
HSLhsl(60, 61%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0.5%, 0%, 62%, 16.5%)
CIE-LABlab(83.01, -16.70, 62.96)
CIE-LCHlch(83.01, 65.14, 104.85°)
OKLaboklab(84.78% -0.0511 0.1431)
OKLCHoklch(84.78% 0.152 109.7)
XYZxyz(52.4324, 62.1810, 17.0231)
Luminance0.6218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D551 #5251D5
analogous
#D59451 #D4D551 #92D551
triadic
#D4D551 #51D4D5 #D551D4
tetradic
#D4D551 #51D594 #5251D5 #D55192
square
#D4D551 #51D594 #5251D5 #D55192
split-complementary
#D4D551 #5192D5 #9451D5
monochromatic
#898A21 #BABC2D #D4D551 #E0E182 #ECEDB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D551#FFFFFF#000000##000000
##D4D5511.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)
#E5CC40
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#E2C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d551;
/* rgb */ color: rgb(212, 213, 81);
/* oklch */ color: oklch(84.8% 0.152 109.7);
Tailwind
colors: {
  custom: {
    50: '#e4e188',
    500: '#d4d551',
    950: '#000000',
  },
}
SCSS
$custom: #d4d551;
$custom-light: #e4e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d551",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 60.455,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84777,
    "c": 0.15198,
    "h": 109.7
  },
  "luminance": 0.6218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D551

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

Preview Lab → · Contrast checker → · Palette generator →

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