#D5DC4F#D5DC4F

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

Color values

HEX#D5DC4F
RGBrgb(213, 220, 79)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 64%, 86%)
CMYKcmyk(3.2%, 0%, 64.1%, 13.7%)
CIE-LABlab(84.94, -19.85, 65.83)
CIE-LCHlch(84.94, 68.76, 106.78°)
OKLaboklab(86.34% -0.0603 0.1489)
OKLCHoklch(86.34% 0.161 112)
XYZxyz(54.4466, 65.8983, 17.2471)
Luminance0.6590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC4F #564FDC
analogous
#DC9C4F #D5DC4F #8EDC4F
triadic
#D5DC4F #4FD5DC #DC4FD5
tetradic
#D5DC4F #4FDC9C #564FDC #DC4F8E
square
#D5DC4F #4FDC9C #564FDC #DC4F8E
split-complementary
#D5DC4F #4F8EDC #9C4FDC
monochromatic
#8D931D #BEC627 #D5DC4F #E1E682 #EDF0B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5DC4F#FFFFFF#000000##000000
##D5DC4F1.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)
#ECD23C
Deuteranopia (green-blind)
#ECD658
Tritanopia (blue-blind)
#E3CFBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d5dc4f;
/* rgb */ color: rgb(213, 220, 79);
/* oklch */ color: oklch(86.3% 0.161 112.0);
Tailwind
colors: {
  custom: {
    50: '#e5e687',
    500: '#d5dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc4f;
$custom-light: #e5e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc4f",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 62.979,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86337,
    "c": 0.16059,
    "h": 112
  },
  "luminance": 0.65897
}

Semantic roles & 50–950 ramp

primary
#D5DC4F
secondary
#3C3798
accent
#3EEA47
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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