#D8CD4D#D8CD4D

#D8CD4D 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#D8CD4D
RGBrgb(216, 205, 77)
HSLhsl(55, 64%, 57%)
HSVhsv(55, 64%, 85%)
CMYKcmyk(0%, 5.1%, 64.4%, 15.3%)
CIE-LABlab(81.18, -11.28, 62.77)
CIE-LCHlch(81.18, 63.78, 100.19°)
OKLaboklab(83.39% -0.0365 0.142)
OKLCHoklch(83.39% 0.147 104.4)
XYZxyz(51.4917, 58.7993, 15.6568)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD4D #4D58D8
analogous
#D8884D #D8CD4D #9DD84D
triadic
#D8CD4D #4DD8CD #CD4DD8
tetradic
#D8CD4D #4DD888 #4D58D8 #D84D9D
square
#D8CD4D #4DD888 #4D58D8 #D84D9D
split-complementary
#D8CD4D #4D9DD8 #884DD8
monochromatic
#8C831F #BEB22A #D8CD4D #E3DB7F #EEE9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CD4D#FFFFFF#000000##000000
##D8CD4D1.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)
#DEC63D
Deuteranopia (green-blind)
#E2CC55
Tritanopia (blue-blind)
#E7C0B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd4d;
/* rgb */ color: rgb(216, 205, 77);
/* oklch */ color: oklch(83.4% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#e7dc85',
    500: '#d8cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd4d;
$custom-light: #e7dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd4d",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 55.252,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83389,
    "c": 0.14664,
    "h": 104.4
  },
  "luminance": 0.58797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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