#D8CD66#D8CD66

#D8CD66 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.125 H 103.2°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D8CD66
RGBrgb(216, 205, 102)
HSLhsl(54, 59%, 62%)
HSVhsv(54, 53%, 85%)
CMYKcmyk(0%, 5.1%, 52.8%, 15.3%)
CIE-LABlab(81.41, -9.51, 51.98)
CIE-LCHlch(81.41, 52.84, 100.37°)
OKLaboklab(83.65% -0.0287 0.1221)
OKLCHoklch(83.65% 0.125 103.2)
XYZxyz(52.5501, 59.2226, 21.2308)
Luminance0.5922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD66 #6671D8
analogous
#D89466 #D8CD66 #AAD866
triadic
#D8CD66 #66D8CD #CD66D8
tetradic
#D8CD66 #66D894 #6671D8 #D866AA
square
#D8CD66 #66D894 #6671D8 #D866AA
split-complementary
#D8CD66 #66AAD8 #9466D8
monochromatic
#9C9128 #CCBD35 #D8CD66 #E4DD97 #F1EDC8

Accessibility & contrast

On white

1.63
#D8CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D8CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD66
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD66#FFFFFF#000000##000000
##D8CD661.001.6312.8412.84
#FFFFFF1.631.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC75C
Deuteranopia (green-blind)
#E0CD6B
Tritanopia (blue-blind)
#E6C1B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd66;
/* rgb */ color: rgb(216, 205, 102);
/* oklch */ color: oklch(83.6% 0.125 103.2);
Tailwind
colors: {
  custom: {
    50: '#e6dc94',
    500: '#d8cd66',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd66;
$custom-light: #e6dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd66",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 54.211,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83649,
    "c": 0.12542,
    "h": 103.2
  },
  "luminance": 0.59221
}

Semantic roles & 50–950 ramp

primary
#D8CD66
secondary
#424BA0
accent
#2FC71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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