#D8CD48#D8CD48

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

Color values

HEX#D8CD48
RGBrgb(216, 205, 72)
HSLhsl(55, 65%, 56%)
HSVhsv(55, 67%, 85%)
CMYKcmyk(0%, 5.1%, 66.7%, 15.3%)
CIE-LABlab(81.14, -11.57, 64.74)
CIE-LCHlch(81.14, 65.77, 100.13°)
OKLaboklab(83.35% -0.0378 0.1454)
OKLCHoklch(83.35% 0.15 104.6)
XYZxyz(51.3219, 58.7314, 14.7625)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD48 #4853D8
analogous
#D88548 #D8CD48 #9BD848
triadic
#D8CD48 #48D8CD #CD48D8
tetradic
#D8CD48 #48D885 #4853D8 #D8489B
square
#D8CD48 #48D885 #4853D8 #D8489B
split-complementary
#D8CD48 #489BD8 #8548D8
monochromatic
#89801D #BBB028 #D8CD48 #E3DB7A #EEE9AD

Accessibility & contrast

On white

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

On black

12.75
#D8CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD48
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD48#FFFFFF#000000##000000
##D8CD481.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd48;
/* rgb */ color: rgb(216, 205, 72);
/* oklch */ color: oklch(83.3% 0.150 104.6);
Tailwind
colors: {
  custom: {
    50: '#e7db82',
    500: '#d8cd48',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd48;
$custom-light: #e7db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd48",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 55.417,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83347,
    "c": 0.15024,
    "h": 104.6
  },
  "luminance": 0.58729
}

Semantic roles & 50–950 ramp

primary
#D8CD48
secondary
#363C8F
accent
#4DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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