#CCCB49#CCCB49

#CCCB49 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.149 H 108.9°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CCCB49
RGBrgb(204, 203, 73)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0.5%, 64.2%, 20%)
CIE-LABlab(79.63, -15.53, 62.48)
CIE-LCHlch(79.63, 64.38, 103.96°)
OKLaboklab(81.91% -0.0482 0.1411)
OKLCHoklch(81.91% 0.149 108.9)
XYZxyz(47.4619, 56.0317, 14.6171)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB49 #494ACC
analogous
#CC8A49 #CCCB49 #8CCC49
triadic
#CCCB49 #49CCCB #CB49CC
tetradic
#CCCB49 #49CC8A #494ACC #CC498C
square
#CCCB49 #49CC8A #494ACC #CC498C
split-complementary
#CCCB49 #498CCC #8A49CC
monochromatic
#797822 #A9A82F #CCCB49 #D9D979 #E7E6A9

Accessibility & contrast

On white

1.72
#CCCB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CCCB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB49
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB49#FFFFFF#000000##000000
##CCCB491.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#DDC751
Tritanopia (blue-blind)
#DABFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb49;
/* rgb */ color: rgb(204, 203, 73);
/* oklch */ color: oklch(81.9% 0.149 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfda82',
    500: '#cccb49',
    950: '#000000',
  },
}
SCSS
$custom: #cccb49;
$custom-light: #dfda82;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb49",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 73
  },
  "hsl": {
    "h": 59.542,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81906,
    "c": 0.14911,
    "h": 108.9
  },
  "luminance": 0.5603
}

Semantic roles & 50–950 ramp

primary
#CCCB49
secondary
#383981
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB49

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

Preview Lab → · Contrast checker → · Palette generator →

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