#D4DD51#D4DD51

#D4DD51 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.5% C 0.160 H 112.8°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#D4DD51
RGBrgb(212, 221, 81)
HSLhsl(64, 67%, 59%)
HSVhsv(64, 63%, 87%)
CMYKcmyk(4.1%, 0%, 63.3%, 13.3%)
CIE-LABlab(85.15, -20.62, 65.23)
CIE-LCHlch(85.15, 68.41, 107.55°)
OKLaboklab(86.49% -0.0622 0.1479)
OKLCHoklch(86.49% 0.16 112.8)
XYZxyz(54.4945, 66.3052, 17.7105)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DD51 #5A51DD
analogous
#DDA051 #D4DD51 #8EDD51
triadic
#D4DD51 #51D4DD #DD51D4
tetradic
#D4DD51 #51DDA0 #5A51DD #DD518E
square
#D4DD51 #51DDA0 #5A51DD #DD518E
split-complementary
#D4DD51 #518EDD #A051DD
monochromatic
#8E961D #BFC927 #D4DD51 #E1E784 #EDF1B7

Accessibility & contrast

On white

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

On black

14.26
#D4DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DD51
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DD51#FFFFFF#000000##000000
##D4DD511.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4dd51;
/* rgb */ color: rgb(212, 221, 81);
/* oklch */ color: oklch(86.5% 0.160 112.8);
Tailwind
colors: {
  custom: {
    50: '#e4e788',
    500: '#d4dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d4dd51;
$custom-light: #e4e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dd51",
  "rgb": {
    "r": 212,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 63.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86489,
    "c": 0.16044,
    "h": 112.8
  },
  "luminance": 0.66304
}

Semantic roles & 50–950 ramp

primary
#D4DD51
secondary
#3E389B
accent
#3EEA49
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D4DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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