#D4CC4C#D4CC4C

#D4CC4C is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.147 H 105.7°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D4CC4C
RGBrgb(212, 204, 76)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 64%, 83%)
CMYKcmyk(0%, 3.8%, 64.2%, 16.9%)
CIE-LABlab(80.58, -12.51, 62.45)
CIE-LCHlch(80.58, 63.69, 101.33°)
OKLaboklab(82.82% -0.0398 0.1413)
OKLCHoklch(82.82% 0.147 105.7)
XYZxyz(50.0506, 57.7063, 15.3381)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC4C #4C54D4
analogous
#D4884C #D4CC4C #98D44C
triadic
#D4CC4C #4CD4CC #CC4CD4
tetradic
#D4CC4C #4CD488 #4C54D4 #D44C98
square
#D4CC4C #4CD488 #4C54D4 #D44C98
split-complementary
#D4CC4C #4C98D4 #884CD4
monochromatic
#868020 #B7AF2C #D4CC4C #E0DA7D #ECE8AF

Accessibility & contrast

On white

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

On black

12.54
#D4CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC4C
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC4C#FFFFFF#000000##000000
##D4CC4C1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53B
Deuteranopia (green-blind)
#E0CA54
Tritanopia (blue-blind)
#E3BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc4c;
/* rgb */ color: rgb(212, 204, 76);
/* oklch */ color: oklch(82.8% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4db84',
    500: '#d4cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc4c;
$custom-light: #e4db84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc4c",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 56.471,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82824,
    "c": 0.14679,
    "h": 105.7
  },
  "luminance": 0.57705
}

Semantic roles & 50–950 ramp

primary
#D4CC4C
secondary
#383D8C
accent
#4DE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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