#D8D366#D8D366

#D8D366 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.131 H 106.5°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D8D366
RGBrgb(216, 211, 102)
HSLhsl(57, 59%, 62%)
HSVhsv(57, 53%, 85%)
CMYKcmyk(0%, 2.3%, 52.8%, 15.3%)
CIE-LABlab(82.99, -12.54, 53.82)
CIE-LCHlch(82.99, 55.26, 103.12°)
OKLaboklab(84.9% -0.0373 0.1261)
OKLCHoklch(84.9% 0.131 106.5)
XYZxyz(54.0129, 62.1483, 21.7184)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D366 #666BD8
analogous
#D89A66 #D8D366 #A4D866
triadic
#D8D366 #66D8D3 #D366D8
tetradic
#D8D366 #66D89A #666BD8 #D866A4
square
#D8D366 #66D89A #666BD8 #D866A4
split-complementary
#D8D366 #66A4D8 #9A66D8
monochromatic
#9C9728 #CCC535 #D8D366 #E4E197 #F1EFC8

Accessibility & contrast

On white

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

On black

13.43
#D8D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D366
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D366#FFFFFF#000000##000000
##D8D3661.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5B
Deuteranopia (green-blind)
#E5D16C
Tritanopia (blue-blind)
#E6C7BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d366;
/* rgb */ color: rgb(216, 211, 102);
/* oklch */ color: oklch(84.9% 0.131 106.5);
Tailwind
colors: {
  custom: {
    50: '#e6e095',
    500: '#d8d366',
    950: '#000000',
  },
}
SCSS
$custom: #d8d366;
$custom-light: #e6e095;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d366",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 57.368,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84904,
    "c": 0.13149,
    "h": 106.5
  },
  "luminance": 0.62147
}

Semantic roles & 50–950 ramp

primary
#D8D366
secondary
#4246A0
accent
#26C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D366

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

Preview Lab → · Contrast checker → · Palette generator →

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