#CCCC41#CCCC41

#CCCC41 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.156 H 109.4°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CCCC41
RGBrgb(204, 204, 65)
HSLhsl(60, 58%, 53%)
HSVhsv(60, 68%, 80%)
CMYKcmyk(0%, 0%, 68.1%, 20%)
CIE-LABlab(79.84, -16.48, 65.80)
CIE-LCHlch(79.84, 67.83, 104.06°)
OKLaboklab(82.06% -0.0517 0.1468)
OKLCHoklch(82.06% 0.156 109.4)
XYZxyz(47.4505, 56.4061, 13.3879)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC41 #4141CC
analogous
#CC8641 #CCCC41 #86CC41
triadic
#CCCC41 #41CCCC #CC41CC
tetradic
#CCCC41 #41CC86 #4141CC #CC4186
square
#CCCC41 #41CC86 #4141CC #CC4186
split-complementary
#CCCC41 #4186CC #8641CC
monochromatic
#74741F #A4A42C #CCCC41 #D9D971 #E6E6A1

Accessibility & contrast

On white

1.71
#CCCC41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CCCC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC41
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC41#FFFFFF#000000##000000
##CCCC411.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42B
Deuteranopia (green-blind)
#DEC84B
Tritanopia (blue-blind)
#DABFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc41;
/* rgb */ color: rgb(204, 204, 65);
/* oklch */ color: oklch(82.1% 0.156 109.4);
Tailwind
colors: {
  custom: {
    50: '#dfdb7e',
    500: '#cccc41',
    950: '#000000',
  },
}
SCSS
$custom: #cccc41;
$custom-light: #dfdb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc41",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82058,
    "c": 0.15567,
    "h": 109.4
  },
  "luminance": 0.56405
}

Semantic roles & 50–950 ramp

primary
#CCCC41
secondary
#35357C
accent
#47E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCC41

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

Preview Lab → · Contrast checker → · Palette generator →

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