#D8CC4E#D8CC4E

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

Color values

HEX#D8CC4E
RGBrgb(216, 204, 78)
HSLhsl(55, 64%, 58%)
HSVhsv(55, 64%, 85%)
CMYKcmyk(0%, 5.6%, 63.9%, 15.3%)
CIE-LABlab(80.93, -10.72, 62.09)
CIE-LCHlch(80.93, 63.01, 99.79°)
OKLaboklab(83.19% -0.0348 0.1407)
OKLCHoklch(83.19% 0.145 103.9)
XYZxyz(51.2889, 58.3366, 15.7647)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC4E #4E5AD8
analogous
#D8874E #D8CC4E #9FD84E
triadic
#D8CC4E #4ED8CC #CC4ED8
tetradic
#D8CC4E #4ED887 #4E5AD8 #D84E9F
square
#D8CC4E #4ED887 #4E5AD8 #D84E9F
split-complementary
#D8CC4E #4E9FD8 #874ED8
monochromatic
#8D831F #BFB22A #D8CC4E #E3DA80 #EEE9B2

Accessibility & contrast

On white

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

On black

12.67
#D8CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC4E
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC4E#FFFFFF#000000##000000
##D8CC4E1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cc4e;
/* rgb */ color: rgb(216, 204, 78);
/* oklch */ color: oklch(83.2% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#e7db85',
    500: '#d8cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc4e;
$custom-light: #e7db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc4e",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 54.783,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83188,
    "c": 0.14497,
    "h": 103.9
  },
  "luminance": 0.58335
}

Semantic roles & 50–950 ramp

primary
#D8CC4E
secondary
#384092
accent
#4FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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