#D8DF8A#D8DF8A

#D8DF8A is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.108 H 112.4°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#D8DF8A
RGBrgb(216, 223, 138)
HSLhsl(65, 57%, 71%)
HSVhsv(65, 38%, 87%)
CMYKcmyk(3.1%, 0%, 38.1%, 12.5%)
CIE-LABlab(86.61, -15.05, 40.86)
CIE-LCHlch(86.61, 43.54, 110.22°)
OKLaboklab(87.93% -0.0413 0.0999)
OKLCHoklch(87.93% 0.108 112.4)
XYZxyz(59.2945, 69.2101, 34.2751)
Luminance0.6921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF8A #918ADF
analogous
#DFBB8A #D8DF8A #ADDF8A
triadic
#D8DF8A #8AD8DF #DF8AD8
tetradic
#D8DF8A #8ADFBB #918ADF #DF8AAD
square
#D8DF8A #8ADFBB #918ADF #DF8AAD
split-complementary
#D8DF8A #8AADDF #BB8ADF
monochromatic
#B0BB33 #C8D25A #D8DF8A #E8ECBA #F7F8E7

Accessibility & contrast

On white

1.41
#D8DF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#D8DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF8A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF8A#FFFFFF#000000##000000
##D8DF8A1.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#EBDA8E
Tritanopia (blue-blind)
#E2D6CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8df8a;
/* rgb */ color: rgb(216, 223, 138);
/* oklch */ color: oklch(87.9% 0.108 112.4);
Tailwind
colors: {
  custom: {
    50: '#e5e8ad',
    500: '#d8df8a',
    950: '#000000',
  },
}
SCSS
$custom: #d8df8a;
$custom-light: #e5e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df8a",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 64.941,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87927,
    "c": 0.10806,
    "h": 112.4
  },
  "luminance": 0.69209
}

Semantic roles & 50–950 ramp

primary
#D8DF8A
secondary
#5E57B7
accent
#21C52E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D8DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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