#D8D682#D8D682

#D8D682 is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 85.9% C 0.106 H 107.3°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D8D682
RGBrgb(216, 214, 130)
HSLhsl(59, 52%, 68%)
HSVhsv(59, 40%, 85%)
CMYKcmyk(0%, 0.9%, 39.8%, 15.3%)
CIE-LABlab(84.12, -11.42, 41.69)
CIE-LCHlch(84.12, 43.22, 105.32°)
OKLaboklab(85.92% -0.0315 0.1014)
OKLCHoklch(85.92% 0.106 107.3)
XYZxyz(56.3956, 64.3050, 30.5561)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D682 #8284D8
analogous
#D8AB82 #D8D682 #AFD882
triadic
#D8D682 #82D8D6 #D682D8
tetradic
#D8D682 #82D8AB #8284D8 #D882AF
square
#D8D682 #82D8AB #8284D8 #D882AF
split-complementary
#D8D682 #82AFD8 #AB82D8
monochromatic
#AAA835 #C9C753 #D8D682 #E7E5B1 #F5F5DF

Accessibility & contrast

On white

1.52
#D8D682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D8D682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D682
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D682#FFFFFF#000000##000000
##D8D6821.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07C
Deuteranopia (green-blind)
#E5D486
Tritanopia (blue-blind)
#E3CCC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d682;
/* rgb */ color: rgb(216, 214, 130);
/* oklch */ color: oklch(85.9% 0.106 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5e2a7',
    500: '#d8d682',
    950: '#000000',
  },
}
SCSS
$custom: #d8d682;
$custom-light: #e5e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d682",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 130
  },
  "hsl": {
    "h": 58.605,
    "s": 52.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85915,
    "c": 0.10614,
    "h": 107.3
  },
  "luminance": 0.64304
}

Semantic roles & 50–950 ramp

primary
#D8D682
secondary
#5053AE
accent
#29C026
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D8D682

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

Preview Lab → · Contrast checker → · Palette generator →

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