#D8D661#D8D661

#D8D661 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.139 H 108.1°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D8D661
RGBrgb(216, 214, 97)
HSLhsl(59, 60%, 61%)
HSVhsv(59, 55%, 85%)
CMYKcmyk(0%, 0.9%, 55.1%, 15.3%)
CIE-LABlab(83.73, -14.44, 56.95)
CIE-LCHlch(83.73, 58.75, 104.22°)
OKLaboklab(85.48% -0.0433 0.1323)
OKLCHoklch(85.48% 0.139 108.1)
XYZxyz(54.5247, 63.5566, 20.7024)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D661 #6163D8
analogous
#D89B61 #D8D661 #9FD861
triadic
#D8D661 #61D8D6 #D661D8
tetradic
#D8D661 #61D89B #6163D8 #D8619F
square
#D8D661 #61D89B #6163D8 #D8619F
split-complementary
#D8D661 #619FD8 #9B61D8
monochromatic
#999726 #CAC732 #D8D661 #E4E392 #F0EFC3

Accessibility & contrast

On white

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

On black

13.71
#D8D661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D661
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D661#FFFFFF#000000##000000
##D8D6611.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE55
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#E6CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d661;
/* rgb */ color: rgb(216, 214, 97);
/* oklch */ color: oklch(85.5% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#e6e292',
    500: '#d8d661',
    950: '#000000',
  },
}
SCSS
$custom: #d8d661;
$custom-light: #e6e292;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d661",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 97
  },
  "hsl": {
    "h": 58.992,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85478,
    "c": 0.13919,
    "h": 108.1
  },
  "luminance": 0.63555
}

Semantic roles & 50–950 ramp

primary
#D8D661
secondary
#40419D
accent
#20C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D661

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

Preview Lab → · Contrast checker → · Palette generator →

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