#D4DC51#D4DC51

#D4DC51 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.3% C 0.159 H 112.4°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#D4DC51
RGBrgb(212, 220, 81)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 63%, 86%)
CMYKcmyk(3.6%, 0%, 63.2%, 13.7%)
CIE-LABlab(84.88, -20.14, 64.94)
CIE-LCHlch(84.88, 67.99, 107.23°)
OKLaboklab(86.27% -0.0608 0.1473)
OKLCHoklch(86.27% 0.159 112.4)
XYZxyz(54.2313, 65.7787, 17.6227)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC51 #5951DC
analogous
#DC9F51 #D4DC51 #8FDC51
triadic
#D4DC51 #51D4DC #DC51D4
tetradic
#D4DC51 #51DC9F #5951DC #DC518F
square
#D4DC51 #51DC9F #5951DC #DC518F
split-complementary
#D4DC51 #518FDC #9F51DC
monochromatic
#8E951E #BEC828 #D4DC51 #E1E684 #EDF0B7

Accessibility & contrast

On white

1.48
#D4DC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#D4DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC51
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC51#FFFFFF#000000##000000
##D4DC511.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23F
Deuteranopia (green-blind)
#ECD65A
Tritanopia (blue-blind)
#E2CFBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dc51;
/* rgb */ color: rgb(212, 220, 81);
/* oklch */ color: oklch(86.3% 0.159 112.4);
Tailwind
colors: {
  custom: {
    50: '#e4e688',
    500: '#d4dc51',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc51;
$custom-light: #e4e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc51",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 63.453,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86274,
    "c": 0.15936,
    "h": 112.4
  },
  "luminance": 0.65778
}

Semantic roles & 50–950 ramp

primary
#D4DC51
secondary
#3E3899
accent
#3EE948
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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