#CCCC55#CCCC55

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

Color values

HEX#CCCC55
RGBrgb(204, 204, 85)
HSLhsl(60, 54%, 57%)
HSVhsv(60, 58%, 80%)
CMYKcmyk(0%, 0%, 58.3%, 20%)
CIE-LABlab(80.00, -15.24, 57.83)
CIE-LCHlch(80.00, 59.80, 104.77°)
OKLaboklab(82.23% -0.0461 0.133)
OKLCHoklch(82.23% 0.141 109.1)
XYZxyz(48.1358, 56.6803, 16.9973)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC55 #5555CC
analogous
#CC9155 #CCCC55 #91CC55
triadic
#CCCC55 #55CCCC #CC55CC
tetradic
#CCCC55 #55CC91 #5555CC #CC5591
square
#CCCC55 #55CC91 #5555CC #CC5591
split-complementary
#CCCC55 #5591CC #9155CC
monochromatic
#808026 #AFAF35 #CCCC55 #DADA84 #E8E8B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC55#FFFFFF#000000##000000
##CCCC551.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)
#DBC448
Deuteranopia (green-blind)
#DDC85C
Tritanopia (blue-blind)
#D9C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc55;
/* rgb */ color: rgb(204, 204, 85);
/* oklch */ color: oklch(82.2% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedb89',
    500: '#cccc55',
    950: '#000000',
  },
}
SCSS
$custom: #cccc55;
$custom-light: #dedb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc55",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82231,
    "c": 0.14073,
    "h": 109.1
  },
  "luminance": 0.56679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCC55

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

Preview Lab → · Contrast checker → · Palette generator →

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