#D5DF8A#D5DF8A

#D5DF8A is a very light, moderate yellow. Relative luminance 0.688; OKLCH L 87.7% C 0.109 H 114.1°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#D5DF8A
RGBrgb(213, 223, 138)
HSLhsl(67, 57%, 71%)
HSVhsv(67, 38%, 87%)
CMYKcmyk(4.5%, 0%, 38.1%, 12.5%)
CIE-LABlab(86.38, -16.20, 40.53)
CIE-LCHlch(86.38, 43.64, 111.79°)
OKLaboklab(87.69% -0.0444 0.0991)
OKLCHoklch(87.69% 0.109 114.1)
XYZxyz(58.4161, 68.7572, 34.2339)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DF8A #948ADF
analogous
#DFBE8A #D5DF8A #AADF8A
triadic
#D5DF8A #8AD5DF #DF8AD5
tetradic
#D5DF8A #8ADFBE #948ADF #DF8AAA
square
#D5DF8A #8ADFBE #948ADF #DF8AAA
split-complementary
#D5DF8A #8AAADF #BE8ADF
monochromatic
#ABBB33 #C4D25A #D5DF8A #E6ECBA #F6F8E7

Accessibility & contrast

On white

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

On black

14.75
#D5DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DF8A
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DF8A#FFFFFF#000000##000000
##D5DF8A1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5df8a;
/* rgb */ color: rgb(213, 223, 138);
/* oklch */ color: oklch(87.7% 0.109 114.1);
Tailwind
colors: {
  custom: {
    50: '#e3e8ad',
    500: '#d5df8a',
    950: '#000000',
  },
}
SCSS
$custom: #d5df8a;
$custom-light: #e3e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5df8a",
  "rgb": {
    "r": 213,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 67.059,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87693,
    "c": 0.10863,
    "h": 114.1
  },
  "luminance": 0.68756
}

Semantic roles & 50–950 ramp

primary
#D5DF8A
secondary
#6257B7
accent
#21C534
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D5DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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