#D2CC49#D2CC49

#D2CC49 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.149 H 106.7°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D2CC49
RGBrgb(210, 204, 73)
HSLhsl(57, 60%, 55%)
HSVhsv(57, 65%, 82%)
CMYKcmyk(0%, 2.9%, 65.2%, 17.6%)
CIE-LABlab(80.39, -13.52, 63.41)
CIE-LCHlch(80.39, 64.84, 102.04°)
OKLaboklab(82.63% -0.0429 0.1429)
OKLCHoklch(82.63% 0.149 106.7)
XYZxyz(49.3756, 57.3701, 14.7747)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC49 #494FD2
analogous
#D28749 #D2CC49 #94D249
triadic
#D2CC49 #49D2CC #CC49D2
tetradic
#D2CC49 #49D287 #494FD2 #D24994
square
#D2CC49 #49D287 #494FD2 #D24994
split-complementary
#D2CC49 #4994D2 #8749D2
monochromatic
#817D20 #B2AC2C #D2CC49 #DEDA7A #EAE7AB

Accessibility & contrast

On white

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

On black

12.47
#D2CC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC49
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC49#FFFFFF#000000##000000
##D2CC491.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cc49;
/* rgb */ color: rgb(210, 204, 73);
/* oklch */ color: oklch(82.6% 0.149 106.7);
Tailwind
colors: {
  custom: {
    50: '#e3db82',
    500: '#d2cc49',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc49;
$custom-light: #e3db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc49",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 57.372,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82627,
    "c": 0.14922,
    "h": 106.7
  },
  "luminance": 0.57368
}

Semantic roles & 50–950 ramp

primary
#D2CC49
secondary
#373B88
accent
#4BE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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