#CCCC61#CCCC61

#CCCC61 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.130 H 108.9°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CCCC61
RGBrgb(204, 204, 97)
HSLhsl(60, 51%, 59%)
HSVhsv(60, 52%, 80%)
CMYKcmyk(0%, 0%, 52.5%, 20%)
CIE-LABlab(80.12, -14.32, 52.55)
CIE-LCHlch(80.12, 54.47, 105.25°)
OKLaboklab(82.36% -0.0422 0.123)
OKLCHoklch(82.36% 0.13 108.9)
XYZxyz(48.6536, 56.8874, 19.7244)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC61 #6161CC
analogous
#CC9761 #CCCC61 #97CC61
triadic
#CCCC61 #61CCCC #CC61CC
tetradic
#CCCC61 #61CC97 #6161CC #CC6197
square
#CCCC61 #61CC97 #6161CC #CC6197
split-complementary
#CCCC61 #6197CC #9761CC
monochromatic
#87872C #B5B53B #CCCC61 #DBDB8F #EAEABE

Accessibility & contrast

On white

1.70
#CCCC61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CCCC61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC61
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC61#FFFFFF#000000##000000
##CCCC611.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC557
Deuteranopia (green-blind)
#DCC967
Tritanopia (blue-blind)
#D9C1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccc61;
/* rgb */ color: rgb(204, 204, 97);
/* oklch */ color: oklch(82.4% 0.130 108.9);
Tailwind
colors: {
  custom: {
    50: '#dedb91',
    500: '#cccc61',
    950: '#000000',
  },
}
SCSS
$custom: #cccc61;
$custom-light: #dedb91;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc61",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 97
  },
  "hsl": {
    "h": 60,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82362,
    "c": 0.13009,
    "h": 108.9
  },
  "luminance": 0.56886
}

Semantic roles & 50–950 ramp

primary
#CCCC61
secondary
#43438E
accent
#4DDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCC61

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

Preview Lab → · Contrast checker → · Palette generator →

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