#CCCA5C#CCCA5C

#CCCA5C is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.133 H 108.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CCCA5C
RGBrgb(204, 202, 92)
HSLhsl(59, 52%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 1%, 54.9%, 20%)
CIE-LABlab(79.53, -13.72, 54.18)
CIE-LCHlch(79.53, 55.89, 104.21°)
OKLaboklab(81.88% -0.041 0.126)
OKLCHoklch(81.88% 0.133 108)
XYZxyz(47.9555, 55.8524, 18.3776)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA5C #5C5ECC
analogous
#CC925C #CCCA5C #96CC5C
triadic
#CCCA5C #5CCCCA #CA5CCC
tetradic
#CCCA5C #5CCC92 #5C5ECC #CC5C96
square
#CCCA5C #5CCC92 #5C5ECC #CC5C96
split-complementary
#CCCA5C #5C96CC #925CCC
monochromatic
#848329 #B3B138 #CCCA5C #DBD98B #E9E8B9

Accessibility & contrast

On white

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

On black

12.17
#CCCA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA5C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA5C#FFFFFF#000000##000000
##CCCA5C1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C351
Deuteranopia (green-blind)
#DBC762
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca5c;
/* rgb */ color: rgb(204, 202, 92);
/* oklch */ color: oklch(81.9% 0.133 108.0);
Tailwind
colors: {
  custom: {
    50: '#ded98e',
    500: '#ccca5c',
    950: '#000000',
  },
}
SCSS
$custom: #ccca5c;
$custom-light: #ded98e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca5c",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 58.929,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81878,
    "c": 0.13252,
    "h": 108
  },
  "luminance": 0.55851
}

Semantic roles & 50–950 ramp

primary
#CCCA5C
secondary
#41428C
accent
#4FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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