#D8DF51#D8DF51

#D8DF51 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.2% C 0.162 H 112.0°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#D8DF51
RGBrgb(216, 223, 81)
HSLhsl(63, 69%, 60%)
HSVhsv(63, 64%, 87%)
CMYKcmyk(3.1%, 0%, 63.7%, 12.5%)
CIE-LABlab(85.99, -19.97, 66.20)
CIE-LCHlch(85.99, 69.14, 106.79°)
OKLaboklab(87.24% -0.0606 0.1499)
OKLCHoklch(87.24% 0.162 112)
XYZxyz(56.1934, 67.9696, 17.9423)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF51 #5851DF
analogous
#DF9F51 #D8DF51 #91DF51
triadic
#D8DF51 #51D8DF #DF51D8
tetradic
#D8DF51 #51DF9F #5851DF #DF5191
square
#D8DF51 #51DF9F #5851DF #DF5191
split-complementary
#D8DF51 #5191DF #9F51DF
monochromatic
#93991C #C5CD26 #D8DF51 #E4E985 #EFF2B8

Accessibility & contrast

On white

1.44
#D8DF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#D8DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF51
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF51#FFFFFF#000000##000000
##D8DF511.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#E6D2C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df51;
/* rgb */ color: rgb(216, 223, 81);
/* oklch */ color: oklch(87.2% 0.162 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e889',
    500: '#d8df51',
    950: '#000000',
  },
}
SCSS
$custom: #d8df51;
$custom-light: #e7e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df51",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 62.958,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87235,
    "c": 0.16163,
    "h": 112
  },
  "luminance": 0.67968
}

Semantic roles & 50–950 ramp

primary
#D8DF51
secondary
#3C379D
accent
#3CEC45
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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