#CCC568#CCC568

#CCC568 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.116 H 104.8°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CCC568
RGBrgb(204, 197, 104)
HSLhsl(56, 50%, 60%)
HSVhsv(56, 49%, 80%)
CMYKcmyk(0%, 3.4%, 49%, 20%)
CIE-LABlab(78.33, -10.17, 47.12)
CIE-LCHlch(78.33, 48.21, 102.18°)
OKLaboklab(80.96% -0.0296 0.1119)
OKLCHoklch(80.96% 0.116 104.8)
XYZxyz(47.3680, 53.7707, 20.9776)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC568 #686FCC
analogous
#CC9368 #CCC568 #A1CC68
triadic
#CCC568 #68CCC5 #C568CC
tetradic
#CCC568 #68CC93 #686FCC #CC68A1
square
#CCC568 #68CC93 #686FCC #CC68A1
split-complementary
#CCC568 #68A1CC #9368CC
monochromatic
#8B842F #B8B03E #CCC568 #DBD796 #EBE8C3

Accessibility & contrast

On white

1.79
#CCC568 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CCC568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC568
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC568#FFFFFF#000000##000000
##CCC5681.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF60
Deuteranopia (green-blind)
#D6C46C
Tritanopia (blue-blind)
#D9BAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc568;
/* rgb */ color: rgb(204, 197, 104);
/* oklch */ color: oklch(81.0% 0.116 104.8);
Tailwind
colors: {
  custom: {
    50: '#ddd695',
    500: '#ccc568',
    950: '#000000',
  },
}
SCSS
$custom: #ccc568;
$custom-light: #ddd695;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc568",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 104
  },
  "hsl": {
    "h": 55.8,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80964,
    "c": 0.11574,
    "h": 104.8
  },
  "luminance": 0.53769
}

Semantic roles & 50–950 ramp

primary
#CCC568
secondary
#474C92
accent
#33BD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC568

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

Preview Lab → · Contrast checker → · Palette generator →

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