#D4CC49#D4CC49

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

Color values

HEX#D4CC49
RGBrgb(212, 204, 73)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 66%, 83%)
CMYKcmyk(0%, 3.8%, 65.6%, 16.9%)
CIE-LABlab(80.55, -12.69, 63.63)
CIE-LCHlch(80.55, 64.89, 101.27°)
OKLaboklab(82.8% -0.0406 0.1433)
OKLCHoklch(82.8% 0.149 105.8)
XYZxyz(49.9487, 57.6656, 14.8015)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CC49 #4951D4
analogous
#D48649 #D4CC49 #96D449
triadic
#D4CC49 #49D4CC #CC49D4
tetradic
#D4CC49 #49D486 #4951D4 #D44996
square
#D4CC49 #49D486 #4951D4 #D44996
split-complementary
#D4CC49 #4996D4 #8649D4
monochromatic
#847E1F #B5AD2B #D4CC49 #E0DA7B #EBE8AC

Accessibility & contrast

On white

1.68
#D4CC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D4CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CC49
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CC49#FFFFFF#000000##000000
##D4CC491.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC537
Deuteranopia (green-blind)
#E0CA51
Tritanopia (blue-blind)
#E3BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d4cc49;
/* rgb */ color: rgb(212, 204, 73);
/* oklch */ color: oklch(82.8% 0.149 105.8);
Tailwind
colors: {
  custom: {
    50: '#e4db82',
    500: '#d4cc49',
    950: '#000000',
  },
}
SCSS
$custom: #d4cc49;
$custom-light: #e4db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cc49",
  "rgb": {
    "r": 212,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 56.547,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82799,
    "c": 0.14899,
    "h": 105.8
  },
  "luminance": 0.57664
}

Semantic roles & 50–950 ramp

primary
#D4CC49
secondary
#373C8A
accent
#4CE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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