#CCC549#CCC549

#CCC549 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.143 H 106.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CCC549
RGBrgb(204, 197, 73)
HSLhsl(57, 56%, 54%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 3.4%, 64.2%, 20%)
CIE-LABlab(78.02, -12.51, 60.80)
CIE-LCHlch(78.02, 62.07, 101.62°)
OKLaboklab(80.62% -0.0397 0.1376)
OKLCHoklch(80.62% 0.143 106.1)
XYZxyz(46.0723, 53.2525, 14.1539)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC549 #4950CC
analogous
#CC8449 #CCC549 #92CC49
triadic
#CCC549 #49CCC5 #C549CC
tetradic
#CCC549 #49CC84 #4950CC #CC4992
square
#CCC549 #49CC84 #4950CC #CC4992
split-complementary
#CCC549 #4992CC #8449CC
monochromatic
#797422 #A9A22F #CCC549 #D9D479 #E7E3A9

Accessibility & contrast

On white

1.80
#CCC549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CCC549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC549
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC549#FFFFFF#000000##000000
##CCC5491.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE39
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#DAB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc549;
/* rgb */ color: rgb(204, 197, 73);
/* oklch */ color: oklch(80.6% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd682',
    500: '#ccc549',
    950: '#000000',
  },
}
SCSS
$custom: #ccc549;
$custom-light: #dfd682;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc549",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 56.794,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80624,
    "c": 0.14318,
    "h": 106.1
  },
  "luminance": 0.53251
}

Semantic roles & 50–950 ramp

primary
#CCC549
secondary
#383C81
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC549

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

Preview Lab → · Contrast checker → · Palette generator →

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