#D8CD5D#D8CD5D

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

Color values

HEX#D8CD5D
RGBrgb(216, 205, 93)
HSLhsl(55, 61%, 61%)
HSVhsv(55, 57%, 85%)
CMYKcmyk(0%, 5.1%, 56.9%, 15.3%)
CIE-LABlab(81.32, -10.21, 56.02)
CIE-LCHlch(81.32, 56.94, 100.33°)
OKLaboklab(83.55% -0.0317 0.1298)
OKLCHoklch(83.55% 0.134 103.7)
XYZxyz(52.1277, 59.0537, 19.0064)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD5D #5D68D8
analogous
#D88F5D #D8CD5D #A5D85D
triadic
#D8CD5D #5DD8CD #CD5DD8
tetradic
#D8CD5D #5DD88F #5D68D8 #D85DA5
square
#D8CD5D #5DD88F #5D68D8 #D85DA5
split-complementary
#D8CD5D #5DA5D8 #8F5DD8
monochromatic
#968C24 #C8BA30 #D8CD5D #E4DC8E #F0EBC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CD5D#FFFFFF#000000##000000
##D8CD5D1.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)
#DDC751
Deuteranopia (green-blind)
#E1CD63
Tritanopia (blue-blind)
#E7C1B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd5d;
/* rgb */ color: rgb(216, 205, 93);
/* oklch */ color: oklch(83.5% 0.134 103.7);
Tailwind
colors: {
  custom: {
    50: '#e7dc8f',
    500: '#d8cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd5d;
$custom-light: #e7dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd5d",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 54.634,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83545,
    "c": 0.13363,
    "h": 103.7
  },
  "luminance": 0.59052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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