#D8D385#D8D385

#D8D385 is a very light, moderate yellow. Relative luminance 0.629; OKLCH L 85.3% C 0.099 H 105.1°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D8D385
RGBrgb(216, 211, 133)
HSLhsl(56, 52%, 68%)
HSVhsv(56, 38%, 85%)
CMYKcmyk(0%, 2.3%, 38.4%, 15.3%)
CIE-LABlab(83.38, -9.58, 39.24)
CIE-LCHlch(83.38, 40.39, 103.72°)
OKLaboklab(85.34% -0.026 0.0959)
OKLCHoklch(85.34% 0.099 105.1)
XYZxyz(55.8477, 62.8822, 31.3813)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D385 #858AD8
analogous
#D8A985 #D8D385 #B3D885
triadic
#D8D385 #85D8D3 #D385D8
tetradic
#D8D385 #85D8A9 #858AD8 #D885B3
square
#D8D385 #85D8A9 #858AD8 #D885B3
split-complementary
#D8D385 #85B3D8 #A985D8
monochromatic
#ACA537 #C9C257 #D8D385 #E7E4B3 #F6F4E2

Accessibility & contrast

On white

1.55
#D8D385 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#D8D385 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D385
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D385#FFFFFF#000000##000000
##D8D3851.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE7F
Deuteranopia (green-blind)
#E2D288
Tritanopia (blue-blind)
#E3C9C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d385;
/* rgb */ color: rgb(216, 211, 133);
/* oklch */ color: oklch(85.3% 0.099 105.1);
Tailwind
colors: {
  custom: {
    50: '#e5e0a9',
    500: '#d8d385',
    950: '#000000',
  },
}
SCSS
$custom: #d8d385;
$custom-light: #e5e0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d385",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 133
  },
  "hsl": {
    "h": 56.386,
    "s": 51.553,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85338,
    "c": 0.09938,
    "h": 105.1
  },
  "luminance": 0.62881
}

Semantic roles & 50–950 ramp

primary
#D8D385
secondary
#5358AE
accent
#30BF27
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D385

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

Preview Lab → · Contrast checker → · Palette generator →

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