#D1CC49#D1CC49

#D1CC49 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.149 H 107.1°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D1CC49
RGBrgb(209, 204, 73)
HSLhsl(58, 60%, 55%)
HSVhsv(58, 65%, 82%)
CMYKcmyk(0%, 2.4%, 65.1%, 18%)
CIE-LABlab(80.31, -13.94, 63.30)
CIE-LCHlch(80.31, 64.82, 102.42°)
OKLaboklab(82.54% -0.044 0.1427)
OKLCHoklch(82.54% 0.149 107.1)
XYZxyz(49.0917, 57.2237, 14.7614)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC49 #494ED1
analogous
#D18849 #D1CC49 #92D149
triadic
#D1CC49 #49D1CC #CC49D1
tetradic
#D1CC49 #49D188 #494ED1 #D14992
square
#D1CC49 #49D188 #494ED1 #D14992
split-complementary
#D1CC49 #4992D1 #8849D1
monochromatic
#7F7C20 #B0AB2D #D1CC49 #DDDA7A #EAE7AB

Accessibility & contrast

On white

1.69
#D1CC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#D1CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC49
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC49#FFFFFF#000000##000000
##D1CC491.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC437
Deuteranopia (green-blind)
#DFCA51
Tritanopia (blue-blind)
#E0BFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc49;
/* rgb */ color: rgb(209, 204, 73);
/* oklch */ color: oklch(82.5% 0.149 107.1);
Tailwind
colors: {
  custom: {
    50: '#e2db82',
    500: '#d1cc49',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc49;
$custom-light: #e2db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc49",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 57.794,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82542,
    "c": 0.14935,
    "h": 107.1
  },
  "luminance": 0.57222
}

Semantic roles & 50–950 ramp

primary
#D1CC49
secondary
#373A87
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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