#D8D288#D8D288

#D8D288 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.095 H 104.2°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#D8D288
RGBrgb(216, 210, 136)
HSLhsl(56, 51%, 69%)
HSVhsv(56, 37%, 85%)
CMYKcmyk(0%, 2.8%, 37%, 15.3%)
CIE-LABlab(83.16, -8.74, 37.44)
CIE-LCHlch(83.16, 38.45, 103.13°)
OKLaboklab(85.18% -0.0233 0.0919)
OKLCHoklch(85.18% 0.095 104.2)
XYZxyz(55.8102, 62.4710, 32.4059)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D288 #888ED8
analogous
#D8AA88 #D8D288 #B6D888
triadic
#D8D288 #88D8D2 #D288D8
tetradic
#D8D288 #88D8AA #888ED8 #D888B6
square
#D8D288 #88D8AA #888ED8 #D888B6
split-complementary
#D8D288 #88B6D8 #AA88D8
monochromatic
#ADA439 #C9C15A #D8D288 #E7E3B6 #F6F5E4

Accessibility & contrast

On white

1.56
#D8D288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#D8D288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D288
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D288#FFFFFF#000000##000000
##D8D2881.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD83
Deuteranopia (green-blind)
#E1D18B
Tritanopia (blue-blind)
#E3C9BF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d288;
/* rgb */ color: rgb(216, 210, 136);
/* oklch */ color: oklch(85.2% 0.095 104.2);
Tailwind
colors: {
  custom: {
    50: '#e5dfab',
    500: '#d8d288',
    950: '#000000',
  },
}
SCSS
$custom: #d8d288;
$custom-light: #e5dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d288",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 136
  },
  "hsl": {
    "h": 55.5,
    "s": 50.633,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8518,
    "c": 0.09485,
    "h": 104.2
  },
  "luminance": 0.6247
}

Semantic roles & 50–950 ramp

primary
#D8D288
secondary
#565CAE
accent
#33BE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D288

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

Preview Lab → · Contrast checker → · Palette generator →

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