#D9CC56#D9CC56

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

Color values

HEX#D9CC56
RGBrgb(217, 204, 86)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 6%, 60.4%, 14.9%)
CIE-LABlab(81.08, -9.79, 58.88)
CIE-LCHlch(81.08, 59.69, 99.44°)
OKLaboklab(83.35% -0.0313 0.135)
OKLCHoklch(83.35% 0.139 103)
XYZxyz(51.8897, 58.6113, 17.3821)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC56 #5663D9
analogous
#D98B56 #D9CC56 #A5D956
triadic
#D9CC56 #56D9CC #CC56D9
tetradic
#D9CC56 #56D98B #5663D9 #D956A5
square
#D9CC56 #56D98B #5663D9 #D956A5
split-complementary
#D9CC56 #56A5D9 #8B56D9
monochromatic
#938821 #C5B62C #D9CC56 #E4DB88 #EFEABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CC56#FFFFFF#000000##000000
##D9CC561.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)
#DDC649
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#E8BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc56;
/* rgb */ color: rgb(217, 204, 86);
/* oklch */ color: oklch(83.4% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#e8db8a',
    500: '#d9cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc56;
$custom-light: #e8db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc56",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 54.046,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83351,
    "c": 0.13861,
    "h": 103
  },
  "luminance": 0.58609
}

Semantic roles & 50–950 ramp

primary
#D9CC56
secondary
#3B4498
accent
#52E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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