#D7DF8A#D7DF8A

#D7DF8A is a very light, moderate yellow. Relative luminance 0.691; OKLCH L 87.8% C 0.108 H 113.0°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#D7DF8A
RGBrgb(215, 223, 138)
HSLhsl(66, 57%, 71%)
HSVhsv(66, 38%, 87%)
CMYKcmyk(3.6%, 0%, 38.1%, 12.5%)
CIE-LABlab(86.53, -15.43, 40.75)
CIE-LCHlch(86.53, 43.57, 110.74°)
OKLaboklab(87.85% -0.0423 0.0996)
OKLCHoklch(87.85% 0.108 113)
XYZxyz(58.9999, 69.0582, 34.2613)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DF8A #928ADF
analogous
#DFBC8A #D7DF8A #ACDF8A
triadic
#D7DF8A #8AD7DF #DF8AD7
tetradic
#D7DF8A #8ADFBC #928ADF #DF8AAC
square
#D7DF8A #8ADFBC #928ADF #DF8AAC
split-complementary
#D7DF8A #8AACDF #BC8ADF
monochromatic
#AFBB33 #C7D25A #D7DF8A #E7ECBA #F7F8E7

Accessibility & contrast

On white

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

On black

14.81
#D7DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DF8A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DF8A#FFFFFF#000000##000000
##D7DF8A1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7df8a;
/* rgb */ color: rgb(215, 223, 138);
/* oklch */ color: oklch(87.8% 0.108 113.0);
Tailwind
colors: {
  custom: {
    50: '#e4e8ad',
    500: '#d7df8a',
    950: '#000000',
  },
}
SCSS
$custom: #d7df8a;
$custom-light: #e4e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7df8a",
  "rgb": {
    "r": 215,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 65.647,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87849,
    "c": 0.10824,
    "h": 113
  },
  "luminance": 0.69057
}

Semantic roles & 50–950 ramp

primary
#D7DF8A
secondary
#6057B7
accent
#21C530
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D7DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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