#CCCA5A#CCCA5A

#CCCA5A is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.134 H 108.1°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CCCA5A
RGBrgb(204, 202, 90)
HSLhsl(59, 53%, 58%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 1%, 55.9%, 20%)
CIE-LABlab(79.51, -13.87, 55.06)
CIE-LCHlch(79.51, 56.78, 104.14°)
OKLaboklab(81.86% -0.0417 0.1277)
OKLCHoklch(81.86% 0.134 108.1)
XYZxyz(47.8692, 55.8179, 17.9232)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA5A #5A5CCC
analogous
#CC915A #CCCA5A #95CC5A
triadic
#CCCA5A #5ACCCA #CA5ACC
tetradic
#CCCA5A #5ACC91 #5A5CCC #CC5A95
square
#CCCA5A #5ACC91 #5A5CCC #CC5A95
split-complementary
#CCCA5A #5A95CC #915ACC
monochromatic
#838129 #B2B037 #CCCA5A #DAD989 #E9E8B7

Accessibility & contrast

On white

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

On black

12.16
#CCCA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA5A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA5A#FFFFFF#000000##000000
##CCCA5A1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca5a;
/* rgb */ color: rgb(204, 202, 90);
/* oklch */ color: oklch(81.9% 0.134 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded98c',
    500: '#ccca5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccca5a;
$custom-light: #ded98c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca5a",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 58.947,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81856,
    "c": 0.13431,
    "h": 108.1
  },
  "luminance": 0.55817
}

Semantic roles & 50–950 ramp

primary
#CCCA5A
secondary
#40418A
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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