#D8CD68#D8CD68

#D8CD68 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.124 H 103.1°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D8CD68
RGBrgb(216, 205, 104)
HSLhsl(54, 59%, 63%)
HSVhsv(54, 52%, 85%)
CMYKcmyk(0%, 5.1%, 51.9%, 15.3%)
CIE-LABlab(81.44, -9.35, 51.06)
CIE-LCHlch(81.44, 51.91, 100.37°)
OKLaboklab(83.67% -0.028 0.1203)
OKLCHoklch(83.67% 0.124 103.1)
XYZxyz(52.6505, 59.2628, 21.7595)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD68 #6873D8
analogous
#D89568 #D8CD68 #ABD868
triadic
#D8CD68 #68D8CD #CD68D8
tetradic
#D8CD68 #68D895 #6873D8 #D868AB
square
#D8CD68 #68D895 #6873D8 #D868AB
split-complementary
#D8CD68 #68ABD8 #9568D8
monochromatic
#9D9229 #CBBD37 #D8CD68 #E5DD99 #F1EDC9

Accessibility & contrast

On white

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

On black

12.85
#D8CD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD68
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD68#FFFFFF#000000##000000
##D8CD681.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd68;
/* rgb */ color: rgb(216, 205, 104);
/* oklch */ color: oklch(83.7% 0.124 103.1);
Tailwind
colors: {
  custom: {
    50: '#e6dc96',
    500: '#d8cd68',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd68;
$custom-light: #e6dc96;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd68",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 54.107,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83673,
    "c": 0.12351,
    "h": 103.1
  },
  "luminance": 0.59261
}

Semantic roles & 50–950 ramp

primary
#D8CD68
secondary
#434CA1
accent
#2FC71F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8CD68

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

Preview Lab → · Contrast checker → · Palette generator →

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