#D8DF5D#D8DF5D

#D8DF5D is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.3% C 0.152 H 112.0°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#D8DF5D
RGBrgb(216, 223, 93)
HSLhsl(63, 67%, 62%)
HSVhsv(63, 58%, 87%)
CMYKcmyk(3.1%, 0%, 58.3%, 12.5%)
CIE-LABlab(86.09, -19.17, 61.34)
CIE-LCHlch(86.09, 64.27, 107.36°)
OKLaboklab(87.35% -0.0571 0.1412)
OKLCHoklch(87.35% 0.152 112)
XYZxyz(56.6838, 68.1658, 20.5251)
Luminance0.6816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF5D #645DDF
analogous
#DFA55D #D8DF5D #97DF5D
triadic
#D8DF5D #5DD8DF #DF5DD8
tetradic
#D8DF5D #5DDFA5 #645DDF #DF5D97
square
#D8DF5D #5DDFA5 #645DDF #DF5D97
split-complementary
#D8DF5D #5D97DF #A55DDF
monochromatic
#9BA220 #CCD52A #D8DF5D #E4E990 #F1F3C3

Accessibility & contrast

On white

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

On black

14.63
#D8DF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF5D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF5D#FFFFFF#000000##000000
##D8DF5D1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED64E
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#E5D3C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df5d;
/* rgb */ color: rgb(216, 223, 93);
/* oklch */ color: oklch(87.3% 0.152 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e890',
    500: '#d8df5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8df5d;
$custom-light: #e7e890;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df5d",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 63.231,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87345,
    "c": 0.1523,
    "h": 112
  },
  "luminance": 0.68165
}

Semantic roles & 50–950 ramp

primary
#D8DF5D
secondary
#413CA5
accent
#17CF21
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D8DF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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