#D8D486#D8D486

#D8D486 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.6% C 0.099 H 105.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D8D486
RGBrgb(216, 212, 134)
HSLhsl(57, 51%, 69%)
HSVhsv(57, 38%, 85%)
CMYKcmyk(0%, 1.9%, 38%, 15.3%)
CIE-LABlab(83.66, -9.97, 39.09)
CIE-LCHlch(83.66, 40.34, 104.32°)
OKLaboklab(85.56% -0.027 0.0956)
OKLCHoklch(85.56% 0.099 105.8)
XYZxyz(56.1663, 63.4084, 31.8300)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D486 #868AD8
analogous
#D8AB86 #D8D486 #B3D886
triadic
#D8D486 #86D8D4 #D486D8
tetradic
#D8D486 #86D8AB #868AD8 #D886B3
square
#D8D486 #86D8AB #868AD8 #D886B3
split-complementary
#D8D486 #86B3D8 #AB86D8
monochromatic
#ACA637 #C9C458 #D8D486 #E7E4B4 #F6F5E3

Accessibility & contrast

On white

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

On black

13.68
#D8D486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D486
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D486#FFFFFF#000000##000000
##D8D4861.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE80
Deuteranopia (green-blind)
#E3D289
Tritanopia (blue-blind)
#E3CBC1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d486;
/* rgb */ color: rgb(216, 212, 134);
/* oklch */ color: oklch(85.6% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#e5e1aa',
    500: '#d8d486',
    950: '#000000',
  },
}
SCSS
$custom: #d8d486;
$custom-light: #e5e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d486",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 134
  },
  "hsl": {
    "h": 57.073,
    "s": 51.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85562,
    "c": 0.09939,
    "h": 105.8
  },
  "luminance": 0.63407
}

Semantic roles & 50–950 ramp

primary
#D8D486
secondary
#5458AE
accent
#2EBF27
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D486

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

Preview Lab → · Contrast checker → · Palette generator →

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