#D4DC5A#D4DC5A

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

Color values

HEX#D4DC5A
RGBrgb(212, 220, 90)
HSLhsl(64, 65%, 61%)
HSVhsv(64, 59%, 86%)
CMYKcmyk(3.6%, 0%, 59.1%, 13.7%)
CIE-LABlab(84.96, -19.54, 61.29)
CIE-LCHlch(84.96, 64.33, 107.68°)
OKLaboklab(86.36% -0.0582 0.1408)
OKLCHoklch(86.36% 0.152 112.5)
XYZxyz(54.5914, 65.9228, 19.5195)
Luminance0.6592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC5A #625ADC
analogous
#DCA35A #D4DC5A #93DC5A
triadic
#D4DC5A #5AD4DC #DC5AD4
tetradic
#D4DC5A #5ADCA3 #625ADC #DC5A93
square
#D4DC5A #5ADCA3 #625ADC #DC5A93
split-complementary
#D4DC5A #5A93DC #A35ADC
monochromatic
#939B21 #C3CD2C #D4DC5A #E1E78C #EEF1BF

Accessibility & contrast

On white

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

On black

14.18
#D4DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC5A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC5A#FFFFFF#000000##000000
##D4DC5A1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD34B
Deuteranopia (green-blind)
#EBD662
Tritanopia (blue-blind)
#E1D0C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dc5a;
/* rgb */ color: rgb(212, 220, 90);
/* oklch */ color: oklch(86.4% 0.152 112.5);
Tailwind
colors: {
  custom: {
    50: '#e4e68e',
    500: '#d4dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc5a;
$custom-light: #e4e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc5a",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 63.692,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86357,
    "c": 0.15235,
    "h": 112.5
  },
  "luminance": 0.65922
}

Semantic roles & 50–950 ramp

primary
#D4DC5A
secondary
#423B9F
accent
#19CD24
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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