#D8CD47#D8CD47

#D8CD47 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.151 H 104.6°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D8CD47
RGBrgb(216, 205, 71)
HSLhsl(55, 65%, 56%)
HSVhsv(55, 67%, 85%)
CMYKcmyk(0%, 5.1%, 67.1%, 15.3%)
CIE-LABlab(81.14, -11.62, 65.13)
CIE-LCHlch(81.14, 66.16, 100.12°)
OKLaboklab(83.34% -0.0381 0.1461)
OKLCHoklch(83.34% 0.151 104.6)
XYZxyz(51.2896, 58.7184, 14.5921)
Luminance0.5872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD47 #4752D8
analogous
#D88547 #D8CD47 #9BD847
triadic
#D8CD47 #47D8CD #CD47D8
tetradic
#D8CD47 #47D885 #4752D8 #D8479B
square
#D8CD47 #47D885 #4752D8 #D8479B
split-complementary
#D8CD47 #479BD8 #8547D8
monochromatic
#88801D #BAAF27 #D8CD47 #E3DB79 #EDE8AC

Accessibility & contrast

On white

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

On black

12.74
#D8CD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD47
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD47#FFFFFF#000000##000000
##D8CD471.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC634
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#E8BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cd47;
/* rgb */ color: rgb(216, 205, 71);
/* oklch */ color: oklch(83.3% 0.151 104.6);
Tailwind
colors: {
  custom: {
    50: '#e7db81',
    500: '#d8cd47',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd47;
$custom-light: #e7db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd47",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 55.448,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83339,
    "c": 0.15093,
    "h": 104.6
  },
  "luminance": 0.58717
}

Semantic roles & 50–950 ramp

primary
#D8CD47
secondary
#353C8E
accent
#4DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CD47

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

Preview Lab → · Contrast checker → · Palette generator →

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