#D3DC87#D3DC87

#D3DC87 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 86.9% C 0.109 H 113.6°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#D3DC87
RGBrgb(211, 220, 135)
HSLhsl(66, 55%, 70%)
HSVhsv(66, 39%, 86%)
CMYKcmyk(4.1%, 0%, 38.6%, 13.7%)
CIE-LABlab(85.40, -15.82, 40.73)
CIE-LCHlch(85.40, 43.69, 111.23°)
OKLaboklab(86.86% -0.0435 0.0995)
OKLCHoklch(86.86% 0.109 113.6)
XYZxyz(56.8308, 66.7853, 32.8140)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DC87 #9087DC
analogous
#DCBB87 #D3DC87 #A9DC87
triadic
#D3DC87 #87D3DC #DC87D3
tetradic
#D3DC87 #87DCBB #9087DC #DC87A9
square
#D3DC87 #87DCBB #9087DC #DC87A9
split-complementary
#D3DC87 #87A9DC #BB87DC
monochromatic
#A7B435 #C2CE58 #D3DC87 #E4EAB6 #F6F8E6

Accessibility & contrast

On white

1.46
#D3DC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#D3DC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DC87
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DC87#FFFFFF#000000##000000
##D3DC871.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D481
Deuteranopia (green-blind)
#E7D68B
Tritanopia (blue-blind)
#DDD3C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d3dc87;
/* rgb */ color: rgb(211, 220, 135);
/* oklch */ color: oklch(86.9% 0.109 113.6);
Tailwind
colors: {
  custom: {
    50: '#e1e6ab',
    500: '#d3dc87',
    950: '#000000',
  },
}
SCSS
$custom: #d3dc87;
$custom-light: #e1e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d3dc87",
  "rgb": {
    "r": 211,
    "g": 220,
    "b": 135
  },
  "hsl": {
    "h": 66.353,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86855,
    "c": 0.10856,
    "h": 113.6
  },
  "luminance": 0.66785
}

Semantic roles & 50–950 ramp

primary
#D3DC87
secondary
#5E54B3
accent
#23C234
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D3DC87

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

Preview Lab → · Contrast checker → · Palette generator →

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