#CCCA60#CCCA60

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

Color values

HEX#CCCA60
RGBrgb(204, 202, 96)
HSLhsl(59, 51%, 59%)
HSVhsv(59, 53%, 80%)
CMYKcmyk(0%, 1%, 52.9%, 20%)
CIE-LABlab(79.57, -13.40, 52.39)
CIE-LCHlch(79.57, 54.07, 104.35°)
OKLaboklab(81.92% -0.0397 0.1226)
OKLCHoklch(81.92% 0.129 107.9)
XYZxyz(48.1350, 55.9242, 19.3229)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA60 #6062CC
analogous
#CC9460 #CCCA60 #98CC60
triadic
#CCCA60 #60CCCA #CA60CC
tetradic
#CCCA60 #60CC94 #6062CC #CC6098
square
#CCCA60 #60CC94 #6062CC #CC6098
split-complementary
#CCCA60 #6098CC #9460CC
monochromatic
#86852B #B5B33A #CCCA60 #DBD98E #EAE9BD

Accessibility & contrast

On white

1.72
#CCCA60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CCCA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA60
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA60#FFFFFF#000000##000000
##CCCA601.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca60;
/* rgb */ color: rgb(204, 202, 96);
/* oklch */ color: oklch(81.9% 0.129 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded990',
    500: '#ccca60',
    950: '#000000',
  },
}
SCSS
$custom: #ccca60;
$custom-light: #ded990;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca60",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 96
  },
  "hsl": {
    "h": 58.889,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81924,
    "c": 0.12885,
    "h": 107.9
  },
  "luminance": 0.55923
}

Semantic roles & 50–950 ramp

primary
#CCCA60
secondary
#43448E
accent
#50DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCA60

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

Preview Lab → · Contrast checker → · Palette generator →

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