#CCC668#CCC668

#CCC668 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.117 H 105.4°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CCC668
RGBrgb(204, 198, 104)
HSLhsl(56, 50%, 60%)
HSVhsv(56, 49%, 80%)
CMYKcmyk(0%, 2.9%, 49%, 20%)
CIE-LABlab(78.59, -10.68, 47.44)
CIE-LCHlch(78.59, 48.63, 102.69°)
OKLaboklab(81.18% -0.0311 0.1126)
OKLCHoklch(81.18% 0.117 105.4)
XYZxyz(47.5958, 54.2264, 21.0536)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC668 #686ECC
analogous
#CC9468 #CCC668 #A0CC68
triadic
#CCC668 #68CCC6 #C668CC
tetradic
#CCC668 #68CC94 #686ECC #CC68A0
square
#CCC668 #68CC94 #686ECC #CC68A0
split-complementary
#CCC668 #68A0CC #9468CC
monochromatic
#8B852F #B8B13E #CCC668 #DBD796 #EBE9C3

Accessibility & contrast

On white

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

On black

11.85
#CCC668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC668
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC668#FFFFFF#000000##000000
##CCC6681.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C060
Deuteranopia (green-blind)
#D7C56C
Tritanopia (blue-blind)
#D8BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc668;
/* rgb */ color: rgb(204, 198, 104);
/* oklch */ color: oklch(81.2% 0.117 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd795',
    500: '#ccc668',
    950: '#000000',
  },
}
SCSS
$custom: #ccc668;
$custom-light: #ddd795;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc668",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 104
  },
  "hsl": {
    "h": 56.4,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81175,
    "c": 0.11679,
    "h": 105.4
  },
  "luminance": 0.54225
}

Semantic roles & 50–950 ramp

primary
#CCC668
secondary
#474B92
accent
#32BD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC668

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

Preview Lab → · Contrast checker → · Palette generator →

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