#D5DC98#D5DC98

#D5DC98 is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.3% C 0.089 H 113.0°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#D5DC98
RGBrgb(213, 220, 152)
HSLhsl(66, 49%, 73%)
HSVhsv(66, 31%, 86%)
CMYKcmyk(3.2%, 0%, 30.9%, 13.7%)
CIE-LABlab(85.81, -13.02, 32.70)
CIE-LCHlch(85.81, 35.20, 111.71°)
OKLaboklab(87.3% -0.0346 0.0815)
OKLCHoklch(87.3% 0.089 113)
XYZxyz(58.7013, 67.6002, 39.6554)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DC98 #9F98DC
analogous
#DCC198 #D5DC98 #B3DC98
triadic
#D5DC98 #98D5DC #DC98D5
tetradic
#D5DC98 #98DCC1 #9F98DC #DC98B3
square
#D5DC98 #98DCC1 #9F98DC #DC98B3
split-complementary
#D5DC98 #98B3DC #C198DC
monochromatic
#AEBA3F #C2CC6A #D5DC98 #E8ECC6 #F6F7E8

Accessibility & contrast

On white

1.45
#D5DC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#D5DC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DC98
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DC98#FFFFFF#000000##000000
##D5DC981.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D693
Deuteranopia (green-blind)
#E6D79B
Tritanopia (blue-blind)
#DDD4CA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d5dc98;
/* rgb */ color: rgb(213, 220, 152);
/* oklch */ color: oklch(87.3% 0.089 113.0);
Tailwind
colors: {
  custom: {
    50: '#e2e6b7',
    500: '#d5dc98',
    950: '#000000',
  },
}
SCSS
$custom: #d5dc98;
$custom-light: #e2e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d5dc98",
  "rgb": {
    "r": 213,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 66.176,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87304,
    "c": 0.08851,
    "h": 113
  },
  "luminance": 0.676
}

Semantic roles & 50–950 ramp

primary
#D5DC98
secondary
#6D64B4
accent
#29BD38
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D5DC98

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

Preview Lab → · Contrast checker → · Palette generator →

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