#CCC649#CCC649

#CCC649 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.144 H 106.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CCC649
RGBrgb(204, 198, 73)
HSLhsl(57, 56%, 54%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 2.9%, 64.2%, 20%)
CIE-LABlab(78.29, -13.01, 61.08)
CIE-LCHlch(78.29, 62.45, 102.03°)
OKLaboklab(80.84% -0.0411 0.1382)
OKLCHoklch(80.84% 0.144 106.6)
XYZxyz(46.3002, 53.7081, 14.2298)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC649 #494FCC
analogous
#CC8549 #CCC649 #91CC49
triadic
#CCC649 #49CCC6 #C649CC
tetradic
#CCC649 #49CC85 #494FCC #CC4991
square
#CCC649 #49CC85 #494FCC #CC4991
split-complementary
#CCC649 #4991CC #8549CC
monochromatic
#797522 #A9A32F #CCC649 #D9D579 #E7E4A9

Accessibility & contrast

On white

1.79
#CCC649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CCC649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC649
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC649#FFFFFF#000000##000000
##CCC6491.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF39
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#DABAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc649;
/* rgb */ color: rgb(204, 198, 73);
/* oklch */ color: oklch(80.8% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#ccc649',
    950: '#000000',
  },
}
SCSS
$custom: #ccc649;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc649",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 73
  },
  "hsl": {
    "h": 57.252,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80837,
    "c": 0.14414,
    "h": 106.6
  },
  "luminance": 0.53707
}

Semantic roles & 50–950 ramp

primary
#CCC649
secondary
#383B81
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC649

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

Preview Lab → · Contrast checker → · Palette generator →

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