#D4DC5D#D4DC5D

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

Color values

HEX#D4DC5D
RGBrgb(212, 220, 93)
HSLhsl(64, 64%, 61%)
HSVhsv(64, 58%, 86%)
CMYKcmyk(3.6%, 0%, 57.7%, 13.7%)
CIE-LABlab(84.98, -19.32, 60.03)
CIE-LCHlch(84.98, 63.06, 107.84°)
OKLaboklab(86.39% -0.0573 0.1385)
OKLCHoklch(86.39% 0.15 112.5)
XYZxyz(54.7217, 65.9749, 20.2056)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC5D #655DDC
analogous
#DCA55D #D4DC5D #95DC5D
triadic
#D4DC5D #5DD4DC #DC5DD4
tetradic
#D4DC5D #5DDCA5 #655DDC #DC5D95
square
#D4DC5D #5DDCA5 #655DDC #DC5D95
split-complementary
#D4DC5D #5D95DC #A55DDC
monochromatic
#959D22 #C5CF2D #D4DC5D #E1E78F #EFF2C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4DC5D#FFFFFF#000000##000000
##D4DC5D1.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)
#EBD34F
Deuteranopia (green-blind)
#EBD665
Tritanopia (blue-blind)
#E1D0C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dc5d;
/* rgb */ color: rgb(212, 220, 93);
/* oklch */ color: oklch(86.4% 0.150 112.5);
Tailwind
colors: {
  custom: {
    50: '#e4e68f',
    500: '#d4dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc5d;
$custom-light: #e4e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc5d",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 63.78,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86387,
    "c": 0.14987,
    "h": 112.5
  },
  "luminance": 0.65974
}

Semantic roles & 50–950 ramp

primary
#D4DC5D
secondary
#433DA1
accent
#19CC25
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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