#D3CC49#D3CC49

#D3CC49 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.149 H 106.3°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D3CC49
RGBrgb(211, 204, 73)
HSLhsl(57, 61%, 56%)
HSVhsv(57, 65%, 83%)
CMYKcmyk(0%, 3.3%, 65.4%, 17.3%)
CIE-LABlab(80.47, -13.10, 63.52)
CIE-LCHlch(80.47, 64.86, 101.66°)
OKLaboklab(82.71% -0.0418 0.1431)
OKLCHoklch(82.71% 0.149 106.3)
XYZxyz(49.6612, 57.5174, 14.7881)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC49 #4950D3
analogous
#D38749 #D3CC49 #95D349
triadic
#D3CC49 #49D3CC #CC49D3
tetradic
#D3CC49 #49D387 #4950D3 #D34995
square
#D3CC49 #49D387 #4950D3 #D34995
split-complementary
#D3CC49 #4995D3 #8749D3
monochromatic
#827D1F #B3AD2B #D3CC49 #DFDA7A #EBE8AC

Accessibility & contrast

On white

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

On black

12.50
#D3CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC49
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC49#FFFFFF#000000##000000
##D3CC491.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3cc49;
/* rgb */ color: rgb(211, 204, 73);
/* oklch */ color: oklch(82.7% 0.149 106.3);
Tailwind
colors: {
  custom: {
    50: '#e4db82',
    500: '#d3cc49',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc49;
$custom-light: #e4db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc49",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 56.957,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82713,
    "c": 0.1491,
    "h": 106.3
  },
  "luminance": 0.57516
}

Semantic roles & 50–950 ramp

primary
#D3CC49
secondary
#373B89
accent
#4CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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