#D4CC56#D4CC56

#D4CC56 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.139 H 105.4°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D4CC56
RGBrgb(212, 204, 86)
HSLhsl(56, 59%, 58%)
HSVhsv(56, 59%, 83%)
CMYKcmyk(0%, 3.8%, 59.4%, 16.9%)
CIE-LABlab(80.66, -11.86, 58.30)
CIE-LCHlch(80.66, 59.50, 101.50°)
OKLaboklab(82.92% -0.0369 0.1339)
OKLCHoklch(82.92% 0.139 105.4)
XYZxyz(50.4256, 57.8563, 17.3135)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC56 #565ED4
analogous
#D48D56 #D4CC56 #9DD456
triadic
#D4CC56 #56D4CC #CC56D4
tetradic
#D4CC56 #56D48D #565ED4 #D4569D
square
#D4CC56 #56D48D #565ED4 #D4569D
split-complementary
#D4CC56 #569DD4 #8D56D4
monochromatic
#8C8524 #BDB430 #D4CC56 #E0DB87 #EDE9B8

Accessibility & contrast

On white

1.67
#D4CC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#D4CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC56
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC56#FFFFFF#000000##000000
##D4CC561.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#DFCB5D
Tritanopia (blue-blind)
#E2C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc56;
/* rgb */ color: rgb(212, 204, 86);
/* oklch */ color: oklch(82.9% 0.139 105.4);
Tailwind
colors: {
  custom: {
    50: '#e4db8a',
    500: '#d4cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc56;
$custom-light: #e4db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc56",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 56.19,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82917,
    "c": 0.13891,
    "h": 105.4
  },
  "luminance": 0.57855
}

Semantic roles & 50–950 ramp

primary
#D4CC56
secondary
#3C4292
accent
#4FE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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