#CCCB48#CCCB48

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

Color values

HEX#CCCB48
RGBrgb(204, 203, 72)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0.5%, 64.7%, 20%)
CIE-LABlab(79.62, -15.59, 62.87)
CIE-LCHlch(79.62, 64.77, 103.92°)
OKLaboklab(81.9% -0.0485 0.1418)
OKLCHoklch(81.9% 0.15 108.9)
XYZxyz(47.4290, 56.0185, 14.4439)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB48 #4849CC
analogous
#CC8948 #CCCB48 #8BCC48
triadic
#CCCB48 #48CCCB #CB48CC
tetradic
#CCCB48 #48CC89 #4849CC #CC488B
square
#CCCB48 #48CC89 #4849CC #CC488B
split-complementary
#CCCB48 #488BCC #8948CC
monochromatic
#787721 #A8A72F #CCCB48 #D9D978 #E7E6A8

Accessibility & contrast

On white

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

On black

12.20
#CCCB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB48
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB48#FFFFFF#000000##000000
##CCCB481.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccb48;
/* rgb */ color: rgb(204, 203, 72);
/* oklch */ color: oklch(81.9% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfda82',
    500: '#cccb48',
    950: '#000000',
  },
}
SCSS
$custom: #cccb48;
$custom-light: #dfda82;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb48",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 59.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81898,
    "c": 0.14985,
    "h": 108.9
  },
  "luminance": 0.56017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCB48

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

Preview Lab → · Contrast checker → · Palette generator →

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