#D8CC5D#D8CC5D

#D8CC5D is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.133 H 103.2°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D8CC5D
RGBrgb(216, 204, 93)
HSLhsl(54, 61%, 61%)
HSVhsv(54, 57%, 85%)
CMYKcmyk(0%, 5.6%, 56.9%, 15.3%)
CIE-LABlab(81.06, -9.71, 55.72)
CIE-LCHlch(81.06, 56.56, 99.88°)
OKLaboklab(83.34% -0.0302 0.1292)
OKLCHoklch(83.34% 0.133 103.2)
XYZxyz(51.8893, 58.5768, 18.9270)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC5D #5D69D8
analogous
#D88E5D #D8CC5D #A7D85D
triadic
#D8CC5D #5DD8CC #CC5DD8
tetradic
#D8CC5D #5DD88E #5D69D8 #D85DA7
square
#D8CC5D #5DD88E #5D69D8 #D85DA7
split-complementary
#D8CC5D #5DA7D8 #8E5DD8
monochromatic
#968B24 #C8B930 #D8CC5D #E4DC8E #F0EBC0

Accessibility & contrast

On white

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

On black

12.72
#D8CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC5D
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC5D#FFFFFF#000000##000000
##D8CC5D1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC652
Deuteranopia (green-blind)
#E0CC63
Tritanopia (blue-blind)
#E7C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc5d;
/* rgb */ color: rgb(216, 204, 93);
/* oklch */ color: oklch(83.3% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#e7db8e',
    500: '#d8cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc5d;
$custom-light: #e7db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc5d",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 54.146,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83337,
    "c": 0.13268,
    "h": 103.2
  },
  "luminance": 0.58575
}

Semantic roles & 50–950 ramp

primary
#D8CC5D
secondary
#3E479B
accent
#2DC91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D8CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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