#D8DF6D#D8DF6D

#D8DF6D is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.5% C 0.138 H 112.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#D8DF6D
RGBrgb(216, 223, 109)
HSLhsl(64, 64%, 65%)
HSVhsv(64, 51%, 87%)
CMYKcmyk(3.1%, 0%, 51.1%, 12.5%)
CIE-LABlab(86.25, -17.92, 54.38)
CIE-LCHlch(86.25, 57.26, 108.23°)
OKLaboklab(87.52% -0.0519 0.128)
OKLCHoklch(87.52% 0.138 112.1)
XYZxyz(57.4680, 68.4795, 24.6556)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF6D #746DDF
analogous
#DFAD6D #D8DF6D #9FDF6D
triadic
#D8DF6D #6DD8DF #DF6DD8
tetradic
#D8DF6D #6DDFAD #746DDF #DF6D9F
square
#D8DF6D #6DDFAD #746DDF #DF6D9F
split-complementary
#D8DF6D #6D9FDF #AD6DDF
monochromatic
#A4AC26 #CBD43B #D8DF6D #E5EA9F #F3F5D1

Accessibility & contrast

On white

1.43
#D8DF6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#D8DF6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF6D
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF6D#FFFFFF#000000##000000
##D8DF6D1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD662
Deuteranopia (green-blind)
#EED973
Tritanopia (blue-blind)
#E4D4C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8df6d;
/* rgb */ color: rgb(216, 223, 109);
/* oklch */ color: oklch(87.5% 0.138 112.1);
Tailwind
colors: {
  custom: {
    50: '#e6e89a',
    500: '#d8df6d',
    950: '#000000',
  },
}
SCSS
$custom: #d8df6d;
$custom-light: #e6e89a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df6d",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 109
  },
  "hsl": {
    "h": 63.684,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87521,
    "c": 0.13811,
    "h": 112.1
  },
  "luminance": 0.68478
}

Semantic roles & 50–950 ramp

primary
#D8DF6D
secondary
#4942AE
accent
#1ACC25
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D8DF6D

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

Preview Lab → · Contrast checker → · Palette generator →

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