#D1DF8A#D1DF8A

#D1DF8A is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.4% C 0.110 H 116.4°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#D1DF8A
RGBrgb(209, 223, 138)
HSLhsl(70, 57%, 71%)
HSVhsv(70, 38%, 87%)
CMYKcmyk(6.3%, 0%, 38.1%, 12.5%)
CIE-LABlab(86.09, -17.73, 40.09)
CIE-LCHlch(86.09, 43.84, 113.86°)
OKLaboklab(87.39% -0.0486 0.0982)
OKLCHoklch(87.39% 0.11 116.4)
XYZxyz(57.2699, 68.1661, 34.1802)
Luminance0.6817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DF8A #988ADF
analogous
#DFC28A #D1DF8A #A6DF8A
triadic
#D1DF8A #8AD1DF #DF8AD1
tetradic
#D1DF8A #8ADFC2 #988ADF #DF8AA6
square
#D1DF8A #8ADFC2 #988ADF #DF8AA6
split-complementary
#D1DF8A #8AA6DF #C28ADF
monochromatic
#A5BB33 #BED25A #D1DF8A #E4ECBA #F6F8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DF8A#FFFFFF#000000##000000
##D1DF8A1.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)
#EAD784
Deuteranopia (green-blind)
#E9D88E
Tritanopia (blue-blind)
#DAD6CA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d1df8a;
/* rgb */ color: rgb(209, 223, 138);
/* oklch */ color: oklch(87.4% 0.110 116.4);
Tailwind
colors: {
  custom: {
    50: '#e0e9ad',
    500: '#d1df8a',
    950: '#000000',
  },
}
SCSS
$custom: #d1df8a;
$custom-light: #e0e9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d1df8a",
  "rgb": {
    "r": 209,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 69.882,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87385,
    "c": 0.10955,
    "h": 116.4
  },
  "luminance": 0.68166
}

Semantic roles & 50–950 ramp

primary
#D1DF8A
secondary
#6657B7
accent
#21C53C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D1DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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