#D8D488#D8D488

#D8D488 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.097 H 105.7°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D8D488
RGBrgb(216, 212, 136)
HSLhsl(57, 51%, 69%)
HSVhsv(57, 37%, 85%)
CMYKcmyk(0%, 1.9%, 37%, 15.3%)
CIE-LABlab(83.69, -9.75, 38.11)
CIE-LCHlch(83.69, 39.34, 104.35°)
OKLaboklab(85.6% -0.0262 0.0935)
OKLCHoklch(85.6% 0.097 105.7)
XYZxyz(56.3071, 63.4647, 32.5715)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D488 #888CD8
analogous
#D8AC88 #D8D488 #B4D888
triadic
#D8D488 #88D8D4 #D488D8
tetradic
#D8D488 #88D8AC #888CD8 #D888B4
square
#D8D488 #88D8AC #888CD8 #D888B4
split-complementary
#D8D488 #88B4D8 #AC88D8
monochromatic
#ADA739 #C9C35A #D8D488 #E7E5B6 #F6F5E4

Accessibility & contrast

On white

1.53
#D8D488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D8D488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D488
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D488#FFFFFF#000000##000000
##D8D4881.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF82
Deuteranopia (green-blind)
#E2D28B
Tritanopia (blue-blind)
#E3CBC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d488;
/* rgb */ color: rgb(216, 212, 136);
/* oklch */ color: oklch(85.6% 0.097 105.7);
Tailwind
colors: {
  custom: {
    50: '#e5e1ab',
    500: '#d8d488',
    950: '#000000',
  },
}
SCSS
$custom: #d8d488;
$custom-light: #e5e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d488",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 136
  },
  "hsl": {
    "h": 57,
    "s": 50.633,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85595,
    "c": 0.09711,
    "h": 105.7
  },
  "luminance": 0.63463
}

Semantic roles & 50–950 ramp

primary
#D8D488
secondary
#565AAE
accent
#2FBE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D488

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

Preview Lab → · Contrast checker → · Palette generator →

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