#D4DC5E#D4DC5E

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

Color values

HEX#D4DC5E
RGBrgb(212, 220, 94)
HSLhsl(64, 64%, 62%)
HSVhsv(64, 57%, 86%)
CMYKcmyk(3.6%, 0%, 57.3%, 13.7%)
CIE-LABlab(84.99, -19.25, 59.61)
CIE-LCHlch(84.99, 62.64, 107.90°)
OKLaboklab(86.4% -0.057 0.1377)
OKLCHoklch(86.4% 0.149 112.5)
XYZxyz(54.7663, 65.9927, 20.4404)
Luminance0.6599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC5E #665EDC
analogous
#DCA55E #D4DC5E #95DC5E
triadic
#D4DC5E #5ED4DC #DC5ED4
tetradic
#D4DC5E #5EDCA5 #665EDC #DC5E95
square
#D4DC5E #5EDCA5 #665EDC #DC5E95
split-complementary
#D4DC5E #5E95DC #A55EDC
monochromatic
#969D22 #C5D02D #D4DC5E #E1E790 #EFF2C3

Accessibility & contrast

On white

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

On black

14.20
#D4DC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC5E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC5E#FFFFFF#000000##000000
##D4DC5E1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4dc5e;
/* rgb */ color: rgb(212, 220, 94);
/* oklch */ color: oklch(86.4% 0.149 112.5);
Tailwind
colors: {
  custom: {
    50: '#e4e690',
    500: '#d4dc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc5e;
$custom-light: #e4e690;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc5e",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 63.81,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86397,
    "c": 0.14902,
    "h": 112.5
  },
  "luminance": 0.65992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4DC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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