#CCCC49#CCCC49

#CCCC49 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.1% C 0.150 H 109.3°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CCCC49
RGBrgb(204, 204, 73)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0%, 64.2%, 20%)
CIE-LABlab(79.90, -16.03, 62.75)
CIE-LCHlch(79.90, 64.77, 104.33°)
OKLaboklab(82.12% -0.0496 0.1417)
OKLCHoklch(82.12% 0.15 109.3)
XYZxyz(47.6988, 56.5055, 14.6961)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC49 #4949CC
analogous
#CC8B49 #CCCC49 #8BCC49
triadic
#CCCC49 #49CCCC #CC49CC
tetradic
#CCCC49 #49CC8B #4949CC #CC498B
square
#CCCC49 #49CC8B #4949CC #CC498B
split-complementary
#CCCC49 #498BCC #8B49CC
monochromatic
#797922 #A9A92F #CCCC49 #D9D979 #E7E7A9

Accessibility & contrast

On white

1.71
#CCCC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#CCCC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC49
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC49#FFFFFF#000000##000000
##CCCC491.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC437
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#DAC0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc49;
/* rgb */ color: rgb(204, 204, 73);
/* oklch */ color: oklch(82.1% 0.150 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdb82',
    500: '#cccc49',
    950: '#000000',
  },
}
SCSS
$custom: #cccc49;
$custom-light: #dfdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc49",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82121,
    "c": 0.15013,
    "h": 109.3
  },
  "luminance": 0.56504
}

Semantic roles & 50–950 ramp

primary
#CCCC49
secondary
#383881
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCC49

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

Preview Lab → · Contrast checker → · Palette generator →

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