#D2DF8A#D2DF8A

#D2DF8A is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 87.5% C 0.109 H 115.8°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#D2DF8A
RGBrgb(210, 223, 138)
HSLhsl(69, 57%, 71%)
HSVhsv(69, 38%, 87%)
CMYKcmyk(5.8%, 0%, 38.1%, 12.5%)
CIE-LABlab(86.16, -17.35, 40.20)
CIE-LCHlch(86.16, 43.78, 113.34°)
OKLaboklab(87.46% -0.0476 0.0984)
OKLCHoklch(87.46% 0.109 115.8)
XYZxyz(57.5537, 68.3125, 34.1935)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF8A #978ADF
analogous
#DFC18A #D2DF8A #A7DF8A
triadic
#D2DF8A #8AD2DF #DF8AD2
tetradic
#D2DF8A #8ADFC1 #978ADF #DF8AA7
square
#D2DF8A #8ADFC1 #978ADF #DF8AA7
split-complementary
#D2DF8A #8AA7DF #C18ADF
monochromatic
#A7BB33 #C0D25A #D2DF8A #E4ECBA #F6F8E7

Accessibility & contrast

On white

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

On black

14.66
#D2DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF8A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF8A#FFFFFF#000000##000000
##D2DF8A1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD784
Deuteranopia (green-blind)
#E9D88E
Tritanopia (blue-blind)
#DBD6CA
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d2df8a;
/* rgb */ color: rgb(210, 223, 138);
/* oklch */ color: oklch(87.5% 0.109 115.8);
Tailwind
colors: {
  custom: {
    50: '#e1e9ad',
    500: '#d2df8a',
    950: '#000000',
  },
}
SCSS
$custom: #d2df8a;
$custom-light: #e1e9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df8a",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 69.176,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87462,
    "c": 0.1093,
    "h": 115.8
  },
  "luminance": 0.68312
}

Semantic roles & 50–950 ramp

primary
#D2DF8A
secondary
#6557B7
accent
#21C53A
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D2DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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