#CCCC68#CCCC68

#CCCC68 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.123 H 108.8°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#CCCC68
RGBrgb(204, 204, 104)
HSLhsl(60, 50%, 60%)
HSVhsv(60, 49%, 80%)
CMYKcmyk(0%, 0%, 49%, 20%)
CIE-LABlab(80.19, -13.72, 49.35)
CIE-LCHlch(80.19, 51.22, 105.54°)
OKLaboklab(82.45% -0.0398 0.1168)
OKLCHoklch(82.45% 0.123 108.8)
XYZxyz(48.9945, 57.0237, 21.5198)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC68 #6868CC
analogous
#CC9A68 #CCCC68 #9ACC68
triadic
#CCCC68 #68CCCC #CC68CC
tetradic
#CCCC68 #68CC9A #6868CC #CC689A
square
#CCCC68 #68CC9A #6868CC #CC689A
split-complementary
#CCCC68 #689ACC #9A68CC
monochromatic
#8B8B2F #B8B83E #CCCC68 #DBDB96 #EBEBC3

Accessibility & contrast

On white

1.69
#CCCC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#CCCC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC68
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC68#FFFFFF#000000##000000
##CCCC681.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#DBC96D
Tritanopia (blue-blind)
#D8C1B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc68;
/* rgb */ color: rgb(204, 204, 104);
/* oklch */ color: oklch(82.4% 0.123 108.8);
Tailwind
colors: {
  custom: {
    50: '#dddb95',
    500: '#cccc68',
    950: '#000000',
  },
}
SCSS
$custom: #cccc68;
$custom-light: #dddb95;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc68",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82448,
    "c": 0.12336,
    "h": 108.8
  },
  "luminance": 0.57023
}

Semantic roles & 50–950 ramp

primary
#CCCC68
secondary
#474792
accent
#29BD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCCC68

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

Preview Lab → · Contrast checker → · Palette generator →

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