#D4DC4E#D4DC4E

#D4DC4E is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.2% C 0.162 H 112.4°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#D4DC4E
RGBrgb(212, 220, 78)
HSLhsl(63, 67%, 58%)
HSVhsv(63, 65%, 86%)
CMYKcmyk(3.6%, 0%, 64.5%, 13.7%)
CIE-LABlab(84.86, -20.32, 66.11)
CIE-LCHlch(84.86, 69.16, 107.08°)
OKLaboklab(86.25% -0.0616 0.1493)
OKLCHoklch(86.25% 0.162 112.4)
XYZxyz(54.1212, 65.7347, 17.0433)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC4E #564EDC
analogous
#DC9D4E #D4DC4E #8DDC4E
triadic
#D4DC4E #4ED4DC #DC4ED4
tetradic
#D4DC4E #4EDC9D #564EDC #DC4E8D
square
#D4DC4E #4EDC9D #564EDC #DC4E8D
split-complementary
#D4DC4E #4E8DDC #9D4EDC
monochromatic
#8C931D #BDC627 #D4DC4E #E0E681 #EDF0B4

Accessibility & contrast

On white

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

On black

14.15
#D4DC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC4E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC4E#FFFFFF#000000##000000
##D4DC4E1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4dc4e;
/* rgb */ color: rgb(212, 220, 78);
/* oklch */ color: oklch(86.2% 0.162 112.4);
Tailwind
colors: {
  custom: {
    50: '#e4e687',
    500: '#d4dc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc4e;
$custom-light: #e4e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc4e",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 63.38,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86249,
    "c": 0.16155,
    "h": 112.4
  },
  "luminance": 0.65734
}

Semantic roles & 50–950 ramp

primary
#D4DC4E
secondary
#3C3797
accent
#3EEA48
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4DC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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