#D4DF8A#D4DF8A

#D4DF8A is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.6% C 0.109 H 114.7°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#D4DF8A
RGBrgb(212, 223, 138)
HSLhsl(68, 57%, 71%)
HSVhsv(68, 38%, 87%)
CMYKcmyk(4.9%, 0%, 38.1%, 12.5%)
CIE-LABlab(86.31, -16.58, 40.42)
CIE-LCHlch(86.31, 43.69, 112.31°)
OKLaboklab(87.62% -0.0455 0.0989)
OKLCHoklch(87.62% 0.109 114.7)
XYZxyz(58.1269, 68.6080, 34.2204)
Luminance0.6861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DF8A #958ADF
analogous
#DFBF8A #D4DF8A #A9DF8A
triadic
#D4DF8A #8AD4DF #DF8AD4
tetradic
#D4DF8A #8ADFBF #958ADF #DF8AA9
square
#D4DF8A #8ADFBF #958ADF #DF8AA9
split-complementary
#D4DF8A #8AA9DF #BF8ADF
monochromatic
#AABB33 #C2D25A #D4DF8A #E6ECBA #F6F8E7

Accessibility & contrast

On white

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

On black

14.72
#D4DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DF8A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DF8A#FFFFFF#000000##000000
##D4DF8A1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4df8a;
/* rgb */ color: rgb(212, 223, 138);
/* oklch */ color: oklch(87.6% 0.109 114.7);
Tailwind
colors: {
  custom: {
    50: '#e2e9ad',
    500: '#d4df8a',
    950: '#000000',
  },
}
SCSS
$custom: #d4df8a;
$custom-light: #e2e9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d4df8a",
  "rgb": {
    "r": 212,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 67.765,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87616,
    "c": 0.10885,
    "h": 114.7
  },
  "luminance": 0.68607
}

Semantic roles & 50–950 ramp

primary
#D4DF8A
secondary
#6357B7
accent
#21C536
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D4DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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