#D5DD51#D5DD51

#D5DD51 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.6% C 0.160 H 112.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#D5DD51
RGBrgb(213, 221, 81)
HSLhsl(63, 67%, 59%)
HSVhsv(63, 63%, 87%)
CMYKcmyk(3.6%, 0%, 63.3%, 13.3%)
CIE-LABlab(85.23, -20.22, 65.33)
CIE-LCHlch(85.23, 68.38, 107.20°)
OKLaboklab(86.57% -0.0611 0.1481)
OKLCHoklch(86.57% 0.16 112.4)
XYZxyz(54.7837, 66.4543, 17.7241)
Luminance0.6645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DD51 #5951DD
analogous
#DD9F51 #D5DD51 #8FDD51
triadic
#D5DD51 #51D5DD #DD51D5
tetradic
#D5DD51 #51DD9F #5951DD #DD518F
square
#D5DD51 #51DD9F #5951DD #DD518F
split-complementary
#D5DD51 #518FDD #9F51DD
monochromatic
#8F961D #C0C927 #D5DD51 #E1E784 #EEF1B7

Accessibility & contrast

On white

1.47
#D5DD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#D5DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DD51
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DD51#FFFFFF#000000##000000
##D5DD511.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33F
Deuteranopia (green-blind)
#EDD75A
Tritanopia (blue-blind)
#E3D0C0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d5dd51;
/* rgb */ color: rgb(213, 221, 81);
/* oklch */ color: oklch(86.6% 0.160 112.4);
Tailwind
colors: {
  custom: {
    50: '#e5e788',
    500: '#d5dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d5dd51;
$custom-light: #e5e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dd51",
  "rgb": {
    "r": 213,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 63.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86569,
    "c": 0.1602,
    "h": 112.4
  },
  "luminance": 0.66453
}

Semantic roles & 50–950 ramp

primary
#D5DD51
secondary
#3D389B
accent
#3EEA47
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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