#CCCC48#CCCC48

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

Color values

HEX#CCCC48
RGBrgb(204, 204, 72)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0%, 64.7%, 20%)
CIE-LABlab(79.89, -16.09, 63.15)
CIE-LCHlch(79.89, 65.16, 104.29°)
OKLaboklab(82.11% -0.0499 0.1424)
OKLCHoklch(82.11% 0.151 109.3)
XYZxyz(47.6660, 56.4923, 14.5229)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC48 #4848CC
analogous
#CC8A48 #CCCC48 #8ACC48
triadic
#CCCC48 #48CCCC #CC48CC
tetradic
#CCCC48 #48CC8A #4848CC #CC488A
square
#CCCC48 #48CC8A #4848CC #CC488A
split-complementary
#CCCC48 #488ACC #8A48CC
monochromatic
#787821 #A8A82F #CCCC48 #D9D978 #E7E7A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC48#FFFFFF#000000##000000
##CCCC481.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)
#DCC436
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#DAC0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc48;
/* rgb */ color: rgb(204, 204, 72);
/* oklch */ color: oklch(82.1% 0.151 109.3);
Tailwind
colors: {
  custom: {
    50: '#dfdb82',
    500: '#cccc48',
    950: '#000000',
  },
}
SCSS
$custom: #cccc48;
$custom-light: #dfdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc48",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.82112,
    "c": 0.15086,
    "h": 109.3
  },
  "luminance": 0.56491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCC48

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

Preview Lab → · Contrast checker → · Palette generator →

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