#D8CC56#D8CC56

#D8CC56 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.139 H 103.5°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D8CC56
RGBrgb(216, 204, 86)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 5.6%, 60.2%, 15.3%)
CIE-LABlab(80.99, -10.20, 58.76)
CIE-LCHlch(80.99, 59.64, 99.85°)
OKLaboklab(83.26% -0.0324 0.1348)
OKLCHoklch(83.26% 0.139 103.5)
XYZxyz(51.5933, 58.4584, 17.3682)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC56 #5662D8
analogous
#D88B56 #D8CC56 #A3D856
triadic
#D8CC56 #56D8CC #CC56D8
tetradic
#D8CC56 #56D88B #5662D8 #D856A3
square
#D8CC56 #56D88B #5662D8 #D856A3
split-complementary
#D8CC56 #56A3D8 #8B56D8
monochromatic
#928822 #C4B62D #D8CC56 #E3DB88 #EFEAB9

Accessibility & contrast

On white

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

On black

12.69
#D8CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC56
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC56#FFFFFF#000000##000000
##D8CC561.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#E7BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc56;
/* rgb */ color: rgb(216, 204, 86);
/* oklch */ color: oklch(83.3% 0.139 103.5);
Tailwind
colors: {
  custom: {
    50: '#e7db8a',
    500: '#d8cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc56;
$custom-light: #e7db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc56",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 54.462,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83264,
    "c": 0.13865,
    "h": 103.5
  },
  "luminance": 0.58457
}

Semantic roles & 50–950 ramp

primary
#D8CC56
secondary
#3B4497
accent
#51E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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