#CCC755#CCC755

#CCC755 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.136 H 106.7°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CCC755
RGBrgb(204, 199, 85)
HSLhsl(57, 54%, 57%)
HSVhsv(57, 58%, 80%)
CMYKcmyk(0%, 2.5%, 58.3%, 20%)
CIE-LABlab(78.66, -12.73, 56.35)
CIE-LCHlch(78.66, 57.77, 102.73°)
OKLaboklab(81.16% -0.039 0.1298)
OKLCHoklch(81.16% 0.136 106.7)
XYZxyz(46.9664, 54.3415, 16.6075)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC755 #555ACC
analogous
#CC8C55 #CCC755 #96CC55
triadic
#CCC755 #55CCC7 #C755CC
tetradic
#CCC755 #55CC8C #555ACC #CC5596
square
#CCC755 #55CC8C #555ACC #CC5596
split-complementary
#CCC755 #5596CC #8C55CC
monochromatic
#807C26 #AFAA35 #CCC755 #DAD784 #E8E6B3

Accessibility & contrast

On white

1.77
#CCC755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CCC755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC755
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC755#FFFFFF#000000##000000
##CCC7551.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C049
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#DABBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc755;
/* rgb */ color: rgb(204, 199, 85);
/* oklch */ color: oklch(81.2% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded789',
    500: '#ccc755',
    950: '#000000',
  },
}
SCSS
$custom: #ccc755;
$custom-light: #ded789;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc755",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 57.479,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81164,
    "c": 0.13554,
    "h": 106.7
  },
  "luminance": 0.5434
}

Semantic roles & 50–950 ramp

primary
#CCC755
secondary
#3D4188
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC755

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

Preview Lab → · Contrast checker → · Palette generator →

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