#D8CC4C#D8CC4C

#D8CC4C is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.146 H 104.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#D8CC4C
RGBrgb(216, 204, 76)
HSLhsl(55, 64%, 57%)
HSVhsv(55, 65%, 85%)
CMYKcmyk(0%, 5.6%, 64.8%, 15.3%)
CIE-LABlab(80.91, -10.84, 62.90)
CIE-LCHlch(80.91, 63.83, 99.77°)
OKLaboklab(83.17% -0.0353 0.1421)
OKLCHoklch(83.17% 0.146 104)
XYZxyz(51.2183, 58.3084, 15.3928)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC4C #4C58D8
analogous
#D8864C #D8CC4C #9ED84C
triadic
#D8CC4C #4CD8CC #CC4CD8
tetradic
#D8CC4C #4CD886 #4C58D8 #D84C9E
square
#D8CC4C #4CD886 #4C58D8 #D84C9E
split-complementary
#D8CC4C #4C9ED8 #864CD8
monochromatic
#8B821E #BEB129 #D8CC4C #E3DA7E #EEE9B1

Accessibility & contrast

On white

1.66
#D8CC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#D8CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC4C
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC4C#FFFFFF#000000##000000
##D8CC4C1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53B
Deuteranopia (green-blind)
#E1CC54
Tritanopia (blue-blind)
#E7BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc4c;
/* rgb */ color: rgb(216, 204, 76);
/* oklch */ color: oklch(83.2% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#e7db84',
    500: '#d8cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc4c;
$custom-light: #e7db84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc4c",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 54.857,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83171,
    "c": 0.14646,
    "h": 104
  },
  "luminance": 0.58306
}

Semantic roles & 50–950 ramp

primary
#D8CC4C
secondary
#373F91
accent
#4FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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