#D8DF7D#D8DF7D

#D8DF7D is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.7% C 0.122 H 112.2°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#D8DF7D
RGBrgb(216, 223, 125)
HSLhsl(64, 60%, 68%)
HSVhsv(64, 44%, 87%)
CMYKcmyk(3.1%, 0%, 43.9%, 12.5%)
CIE-LABlab(86.43, -16.43, 47.03)
CIE-LCHlch(86.43, 49.82, 109.25°)
OKLaboklab(87.73% -0.0462 0.1131)
OKLCHoklch(87.73% 0.122 112.2)
XYZxyz(58.4091, 68.8559, 29.6116)
Luminance0.6885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF7D #847DDF
analogous
#DFB57D #D8DF7D #A7DF7D
triadic
#D8DF7D #7DD8DF #DF7DD8
tetradic
#D8DF7D #7DDFB5 #847DDF #DF7DA7
square
#D8DF7D #7DDFB5 #847DDF #DF7DA7
split-complementary
#D8DF7D #7DA7DF #B57DDF
monochromatic
#ABB52D #C9D34C #D8DF7D #E7EBAE #F5F7DF

Accessibility & contrast

On white

1.42
#D8DF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#D8DF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF7D
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF7D#FFFFFF#000000##000000
##D8DF7D1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#ECDA82
Tritanopia (blue-blind)
#E3D5C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8df7d;
/* rgb */ color: rgb(216, 223, 125);
/* oklch */ color: oklch(87.7% 0.122 112.2);
Tailwind
colors: {
  custom: {
    50: '#e5e8a4',
    500: '#d8df7d',
    950: '#000000',
  },
}
SCSS
$custom: #d8df7d;
$custom-light: #e5e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df7d",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 64.286,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8773,
    "c": 0.12216,
    "h": 112.2
  },
  "luminance": 0.68855
}

Semantic roles & 50–950 ramp

primary
#D8DF7D
secondary
#524AB6
accent
#1DC82A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #D8DF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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