#D4DC5C#D4DC5C

#D4DC5C is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.4% C 0.151 H 112.5°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#D4DC5C
RGBrgb(212, 220, 92)
HSLhsl(64, 65%, 61%)
HSVhsv(64, 58%, 86%)
CMYKcmyk(3.6%, 0%, 58.2%, 13.7%)
CIE-LABlab(84.97, -19.39, 60.45)
CIE-LCHlch(84.97, 63.49, 107.79°)
OKLaboklab(86.38% -0.0576 0.1393)
OKLCHoklch(86.38% 0.151 112.5)
XYZxyz(54.6777, 65.9573, 19.9738)
Luminance0.6596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC5C #645CDC
analogous
#DCA45C #D4DC5C #94DC5C
triadic
#D4DC5C #5CD4DC #DC5CD4
tetradic
#D4DC5C #5CDCA4 #645CDC #DC5C94
square
#D4DC5C #5CDCA4 #645CDC #DC5C94
split-complementary
#D4DC5C #5C94DC #A45CDC
monochromatic
#949C22 #C4CE2C #D4DC5C #E1E78E #EFF2C1

Accessibility & contrast

On white

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

On black

14.19
#D4DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC5C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC5C#FFFFFF#000000##000000
##D4DC5C1.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD34E
Deuteranopia (green-blind)
#EBD664
Tritanopia (blue-blind)
#E1D0C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dc5c;
/* rgb */ color: rgb(212, 220, 92);
/* oklch */ color: oklch(86.4% 0.151 112.5);
Tailwind
colors: {
  custom: {
    50: '#e4e68f',
    500: '#d4dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc5c;
$custom-light: #e4e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc5c",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 63.75,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86377,
    "c": 0.1507,
    "h": 112.5
  },
  "luminance": 0.65956
}

Semantic roles & 50–950 ramp

primary
#D4DC5C
secondary
#433CA0
accent
#19CC24
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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