#D8CD6A#D8CD6A

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

Color values

HEX#D8CD6A
RGBrgb(216, 205, 106)
HSLhsl(54, 59%, 63%)
HSVhsv(54, 51%, 85%)
CMYKcmyk(0%, 5.1%, 50.9%, 15.3%)
CIE-LABlab(81.46, -9.18, 50.14)
CIE-LCHlch(81.46, 50.97, 100.37°)
OKLaboklab(83.7% -0.0273 0.1185)
OKLCHoklch(83.7% 0.122 103)
XYZxyz(52.7533, 59.3039, 22.3008)
Luminance0.5930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD6A #6A75D8
analogous
#D8966A #D8CD6A #ACD86A
triadic
#D8CD6A #6AD8CD #CD6AD8
tetradic
#D8CD6A #6AD896 #6A75D8 #D86AAC
square
#D8CD6A #6AD896 #6A75D8 #D86AAC
split-complementary
#D8CD6A #6AACD8 #966AD8
monochromatic
#9E9329 #CBBD39 #D8CD6A #E5DD9B #F1EECB

Accessibility & contrast

On white

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

On black

12.86
#D8CD6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD6A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD6A#FFFFFF#000000##000000
##D8CD6A1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd6a;
/* rgb */ color: rgb(216, 205, 106);
/* oklch */ color: oklch(83.7% 0.122 103.0);
Tailwind
colors: {
  custom: {
    50: '#e6dc97',
    500: '#d8cd6a',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd6a;
$custom-light: #e6dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd6a",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 106
  },
  "hsl": {
    "h": 54,
    "s": 58.511,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83699,
    "c": 0.12157,
    "h": 103
  },
  "luminance": 0.59302
}

Semantic roles & 50–950 ramp

primary
#D8CD6A
secondary
#444DA2
accent
#30C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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