#D8CD4C#D8CD4C

#D8CD4C is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.147 H 104.4°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#D8CD4C
RGBrgb(216, 205, 76)
HSLhsl(55, 64%, 57%)
HSVhsv(55, 65%, 85%)
CMYKcmyk(0%, 5.1%, 64.8%, 15.3%)
CIE-LABlab(81.17, -11.34, 63.17)
CIE-LCHlch(81.17, 64.18, 100.18°)
OKLaboklab(83.38% -0.0367 0.1427)
OKLCHoklch(83.38% 0.147 104.4)
XYZxyz(51.4567, 58.7853, 15.4723)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD4C #4C57D8
analogous
#D8874C #D8CD4C #9DD84C
triadic
#D8CD4C #4CD8CD #CD4CD8
tetradic
#D8CD4C #4CD887 #4C57D8 #D84C9D
square
#D8CD4C #4CD887 #4C57D8 #D84C9D
split-complementary
#D8CD4C #4C9DD8 #874CD8
monochromatic
#8B831E #BEB229 #D8CD4C #E3DB7E #EEE9B1

Accessibility & contrast

On white

1.65
#D8CD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#D8CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD4C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD4C#FFFFFF#000000##000000
##D8CD4C1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#E7C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd4c;
/* rgb */ color: rgb(216, 205, 76);
/* oklch */ color: oklch(83.4% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#e7dc84',
    500: '#d8cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd4c;
$custom-light: #e7dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd4c",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 55.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8338,
    "c": 0.14737,
    "h": 104.4
  },
  "luminance": 0.58783
}

Semantic roles & 50–950 ramp

primary
#D8CD4C
secondary
#373E91
accent
#4EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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