#CCCC56#CCCC56

#CCCC56 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.140 H 109.1°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CCCC56
RGBrgb(204, 204, 86)
HSLhsl(60, 54%, 57%)
HSVhsv(60, 58%, 80%)
CMYKcmyk(0%, 0%, 57.8%, 20%)
CIE-LABlab(80.01, -15.17, 57.40)
CIE-LCHlch(80.01, 59.37, 104.81°)
OKLaboklab(82.24% -0.0458 0.1322)
OKLCHoklch(82.24% 0.14 109.1)
XYZxyz(48.1758, 56.6963, 17.2080)
Luminance0.5669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC56 #5656CC
analogous
#CC9156 #CCCC56 #91CC56
triadic
#CCCC56 #56CCCC #CC56CC
tetradic
#CCCC56 #56CC91 #5656CC #CC5691
square
#CCCC56 #56CC91 #5656CC #CC5691
split-complementary
#CCCC56 #5691CC #9156CC
monochromatic
#818127 #B0B035 #CCCC56 #DADA85 #E8E8B4

Accessibility & contrast

On white

1.70
#CCCC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#CCCC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC56
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC56#FFFFFF#000000##000000
##CCCC561.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#DDC85D
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc56;
/* rgb */ color: rgb(204, 204, 86);
/* oklch */ color: oklch(82.2% 0.140 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedb8a',
    500: '#cccc56',
    950: '#000000',
  },
}
SCSS
$custom: #cccc56;
$custom-light: #dedb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc56",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82241,
    "c": 0.1399,
    "h": 109.1
  },
  "luminance": 0.56695
}

Semantic roles & 50–950 ramp

primary
#CCCC56
secondary
#3E3E88
accent
#4BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCC56

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

Preview Lab → · Contrast checker → · Palette generator →

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