#CCC055#CCC055

#CCC055 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.7% C 0.129 H 102.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CCC055
RGBrgb(204, 192, 85)
HSLhsl(54, 54%, 57%)
HSVhsv(54, 58%, 80%)
CMYKcmyk(0%, 5.9%, 58.3%, 20%)
CIE-LABlab(76.80, -9.16, 54.27)
CIE-LCHlch(76.80, 55.04, 99.58°)
OKLaboklab(79.68% -0.0288 0.1254)
OKLCHoklch(79.68% 0.129 102.9)
XYZxyz(45.3927, 51.1942, 16.0829)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC055 #5561CC
analogous
#CC8555 #CCC055 #9CCC55
triadic
#CCC055 #55CCC0 #C055CC
tetradic
#CCC055 #55CC85 #5561CC #CC559C
square
#CCC055 #55CC85 #5561CC #CC559C
split-complementary
#CCC055 #559CCC #8555CC
monochromatic
#807726 #AFA335 #CCC055 #DAD184 #E8E3B3

Accessibility & contrast

On white

1.87
#CCC055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#CCC055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC055
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC055#FFFFFF#000000##000000
##CCC0551.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA4A
Deuteranopia (green-blind)
#D3C05B
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc055;
/* rgb */ color: rgb(204, 192, 85);
/* oklch */ color: oklch(79.7% 0.129 102.9);
Tailwind
colors: {
  custom: {
    50: '#ded289',
    500: '#ccc055',
    950: '#000000',
  },
}
SCSS
$custom: #ccc055;
$custom-light: #ded289;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc055",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 53.95,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79682,
    "c": 0.12865,
    "h": 102.9
  },
  "luminance": 0.51193
}

Semantic roles & 50–950 ramp

primary
#CCC055
secondary
#3D4588
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC055

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

Preview Lab → · Contrast checker → · Palette generator →

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