#CCCA3C#CCCA3C

#CCCA3C is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.157 H 108.6°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CCCA3C
RGBrgb(204, 202, 60)
HSLhsl(59, 59%, 52%)
HSVhsv(59, 71%, 80%)
CMYKcmyk(0%, 1%, 70.6%, 20%)
CIE-LABlab(79.27, -15.73, 67.06)
CIE-LCHlch(79.27, 68.88, 103.20°)
OKLaboklab(81.59% -0.0501 0.1487)
OKLCHoklch(81.59% 0.157 108.6)
XYZxyz(46.8397, 55.4061, 12.5012)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA3C #3C3ECC
analogous
#CC823C #CCCA3C #86CC3C
triadic
#CCCA3C #3CCCCA #CA3CCC
tetradic
#CCCA3C #3CCC82 #3C3ECC #CC3C86
square
#CCCA3C #3CCC82 #3C3ECC #CC3C86
split-complementary
#CCCA3C #3C86CC #823CCC
monochromatic
#706F1D #A19F2A #CCCA3C #D9D76D #E5E49D

Accessibility & contrast

On white

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

On black

12.08
#CCCA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA3C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA3C#FFFFFF#000000##000000
##CCCA3C1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC223
Deuteranopia (green-blind)
#DDC746
Tritanopia (blue-blind)
#DABDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca3c;
/* rgb */ color: rgb(204, 202, 60);
/* oklch */ color: oklch(81.6% 0.157 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfd97b',
    500: '#ccca3c',
    950: '#000000',
  },
}
SCSS
$custom: #ccca3c;
$custom-light: #dfd97b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca3c",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 59.167,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81593,
    "c": 0.15687,
    "h": 108.6
  },
  "luminance": 0.55405
}

Semantic roles & 50–950 ramp

primary
#CCCA3C
secondary
#333479
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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