#CCCA41#CCCA41

#CCCA41 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.154 H 108.5°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CCCA41
RGBrgb(204, 202, 65)
HSLhsl(59, 58%, 53%)
HSVhsv(59, 68%, 80%)
CMYKcmyk(0%, 1%, 68.1%, 20%)
CIE-LABlab(79.31, -15.48, 65.26)
CIE-LCHlch(79.31, 67.07, 103.34°)
OKLaboklab(81.63% -0.0489 0.1457)
OKLCHoklch(81.63% 0.154 108.5)
XYZxyz(46.9782, 55.4615, 13.2305)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA41 #4143CC
analogous
#CC8541 #CCCA41 #88CC41
triadic
#CCCA41 #41CCCA #CA41CC
tetradic
#CCCA41 #41CC85 #4143CC #CC4188
square
#CCCA41 #41CC85 #4143CC #CC4188
split-complementary
#CCCA41 #4188CC #8541CC
monochromatic
#74721F #A4A22C #CCCA41 #D9D771 #E6E5A1

Accessibility & contrast

On white

1.74
#CCCA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CCCA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA41
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA41#FFFFFF#000000##000000
##CCCA411.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22C
Deuteranopia (green-blind)
#DCC74B
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca41;
/* rgb */ color: rgb(204, 202, 65);
/* oklch */ color: oklch(81.6% 0.154 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfd97e',
    500: '#ccca41',
    950: '#000000',
  },
}
SCSS
$custom: #ccca41;
$custom-light: #dfd97e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca41",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 65
  },
  "hsl": {
    "h": 59.137,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81628,
    "c": 0.15369,
    "h": 108.5
  },
  "luminance": 0.5546
}

Semantic roles & 50–950 ramp

primary
#CCCA41
secondary
#35367C
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCA41

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

Preview Lab → · Contrast checker → · Palette generator →

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