#D5DC51#D5DC51

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

Color values

HEX#D5DC51
RGBrgb(213, 220, 81)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 63%, 86%)
CMYKcmyk(3.2%, 0%, 63.2%, 13.7%)
CIE-LABlab(84.96, -19.73, 65.05)
CIE-LCHlch(84.96, 67.97, 106.87°)
OKLaboklab(86.35% -0.0597 0.1475)
OKLCHoklch(86.35% 0.159 112)
XYZxyz(54.5205, 65.9278, 17.6363)
Luminance0.6593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC51 #5851DC
analogous
#DC9E51 #D5DC51 #90DC51
triadic
#D5DC51 #51D5DC #DC51D5
tetradic
#D5DC51 #51DC9E #5851DC #DC5190
square
#D5DC51 #51DC9E #5851DC #DC5190
split-complementary
#D5DC51 #5190DC #9E51DC
monochromatic
#8F951E #C0C828 #D5DC51 #E1E684 #EEF0B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5DC51#FFFFFF#000000##000000
##D5DC511.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)
#ECD23F
Deuteranopia (green-blind)
#ECD65A
Tritanopia (blue-blind)
#E3CFBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d5dc51;
/* rgb */ color: rgb(213, 220, 81);
/* oklch */ color: oklch(86.4% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#e5e688',
    500: '#d5dc51',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc51;
$custom-light: #e5e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc51",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 63.022,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86354,
    "c": 0.15913,
    "h": 112
  },
  "luminance": 0.65927
}

Semantic roles & 50–950 ramp

primary
#D5DC51
secondary
#3D3899
accent
#3EE947
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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