#D8CD55#D8CD55

#D8CD55 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.140 H 104.1°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D8CD55
RGBrgb(216, 205, 85)
HSLhsl(55, 63%, 59%)
HSVhsv(55, 61%, 85%)
CMYKcmyk(0%, 5.1%, 60.6%, 15.3%)
CIE-LABlab(81.25, -10.78, 59.48)
CIE-LCHlch(81.25, 60.44, 100.27°)
OKLaboklab(83.46% -0.0342 0.1362)
OKLCHoklch(83.46% 0.14 104.1)
XYZxyz(51.7918, 58.9193, 17.2370)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD55 #5560D8
analogous
#D88C55 #D8CD55 #A2D855
triadic
#D8CD55 #55D8CD #CD55D8
tetradic
#D8CD55 #55D88C #5560D8 #D855A2
square
#D8CD55 #55D88C #5560D8 #D855A2
split-complementary
#D8CD55 #55A2D8 #8C55D8
monochromatic
#918821 #C3B62D #D8CD55 #E3DC87 #EFEAB9

Accessibility & contrast

On white

1.64
#D8CD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D8CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD55
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD55#FFFFFF#000000##000000
##D8CD551.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC647
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#E7C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd55;
/* rgb */ color: rgb(216, 205, 85);
/* oklch */ color: oklch(83.5% 0.140 104.1);
Tailwind
colors: {
  custom: {
    50: '#e7dc8a',
    500: '#d8cd55',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd55;
$custom-light: #e7dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd55",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 54.962,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83463,
    "c": 0.14041,
    "h": 104.1
  },
  "luminance": 0.58917
}

Semantic roles & 50–950 ramp

primary
#D8CD55
secondary
#3B4296
accent
#50E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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