#D8DD51#D8DD51

#D8DD51 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 86.8% C 0.160 H 111.3°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#D8DD51
RGBrgb(216, 221, 81)
HSLhsl(62, 67%, 59%)
HSVhsv(62, 63%, 87%)
CMYKcmyk(2.3%, 0%, 63.3%, 13.3%)
CIE-LABlab(85.46, -18.99, 65.64)
CIE-LCHlch(85.46, 68.33, 106.14°)
OKLaboklab(86.81% -0.0578 0.1487)
OKLCHoklch(86.81% 0.16 111.3)
XYZxyz(55.6622, 66.9073, 17.7652)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD51 #5651DD
analogous
#DD9C51 #D8DD51 #92DD51
triadic
#D8DD51 #51D8DD #DD51D8
tetradic
#D8DD51 #51DD9C #5651DD #DD5192
square
#D8DD51 #51DD9C #5651DD #DD5192
split-complementary
#D8DD51 #5192DD #9C51DD
monochromatic
#92961D #C4C927 #D8DD51 #E3E784 #EFF1B7

Accessibility & contrast

On white

1.46
#D8DD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#D8DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD51
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD51#FFFFFF#000000##000000
##D8DD511.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD43F
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#E6D0C0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8dd51;
/* rgb */ color: rgb(216, 221, 81);
/* oklch */ color: oklch(86.8% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#e7e788',
    500: '#d8dd51',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd51;
$custom-light: #e7e788;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd51",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 62.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86808,
    "c": 0.15952,
    "h": 111.3
  },
  "luminance": 0.66906
}

Semantic roles & 50–950 ramp

primary
#D8DD51
secondary
#3B389B
accent
#3EEA44
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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