#D8CD5C#D8CD5C

#D8CD5C is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.135 H 103.8°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D8CD5C
RGBrgb(216, 205, 92)
HSLhsl(55, 61%, 60%)
HSVhsv(55, 57%, 85%)
CMYKcmyk(0%, 5.1%, 57.4%, 15.3%)
CIE-LABlab(81.31, -10.29, 56.46)
CIE-LCHlch(81.31, 57.39, 100.33°)
OKLaboklab(83.53% -0.032 0.1307)
OKLCHoklch(83.53% 0.135 103.8)
XYZxyz(52.0837, 59.0361, 18.7747)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD5C #5C67D8
analogous
#D88F5C #D8CD5C #A5D85C
triadic
#D8CD5C #5CD8CD #CD5CD8
tetradic
#D8CD5C #5CD88F #5C67D8 #D85CA5
square
#D8CD5C #5CD88F #5C67D8 #D85CA5
split-complementary
#D8CD5C #5CA5D8 #8F5CD8
monochromatic
#968C24 #C7BA30 #D8CD5C #E4DC8D #F0EBBF

Accessibility & contrast

On white

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

On black

12.81
#D8CD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD5C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD5C#FFFFFF#000000##000000
##D8CD5C1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC750
Deuteranopia (green-blind)
#E1CD62
Tritanopia (blue-blind)
#E7C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd5c;
/* rgb */ color: rgb(216, 205, 92);
/* oklch */ color: oklch(83.5% 0.135 103.8);
Tailwind
colors: {
  custom: {
    50: '#e7dc8e',
    500: '#d8cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd5c;
$custom-light: #e7dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd5c",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 54.677,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83534,
    "c": 0.13452,
    "h": 103.8
  },
  "luminance": 0.59034
}

Semantic roles & 50–950 ramp

primary
#D8CD5C
secondary
#3E469B
accent
#2CC91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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