#CCCA4C#CCCA4C

#CCCA4C is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.146 H 108.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CCCA4C
RGBrgb(204, 202, 76)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 63%, 80%)
CMYKcmyk(0%, 1%, 62.7%, 20%)
CIE-LABlab(79.39, -14.84, 60.99)
CIE-LCHlch(79.39, 62.77, 103.68°)
OKLaboklab(81.72% -0.0459 0.1384)
OKLCHoklch(81.72% 0.146 108.4)
XYZxyz(47.3284, 55.6016, 15.0752)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA4C #4C4ECC
analogous
#CC8A4C #CCCA4C #8ECC4C
triadic
#CCCA4C #4CCCCA #CA4CCC
tetradic
#CCCA4C #4CCC8A #4C4ECC #CC4C8E
square
#CCCA4C #4CCC8A #4C4ECC #CC4C8E
split-complementary
#CCCA4C #4C8ECC #8A4CCC
monochromatic
#7B7923 #AAA831 #CCCA4C #DAD87C #E7E6AB

Accessibility & contrast

On white

1.73
#CCCA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CCCA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA4C
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA4C#FFFFFF#000000##000000
##CCCA4C1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca4c;
/* rgb */ color: rgb(204, 202, 76);
/* oklch */ color: oklch(81.7% 0.146 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfd984',
    500: '#ccca4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccca4c;
$custom-light: #dfd984;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca4c",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 59.063,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81718,
    "c": 0.14586,
    "h": 108.4
  },
  "luminance": 0.556
}

Semantic roles & 50–950 ramp

primary
#CCCA4C
secondary
#393B83
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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