#CCCA64#CCCA64

#CCCA64 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.125 H 107.8°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CCCA64
RGBrgb(204, 202, 100)
HSLhsl(59, 50%, 60%)
HSVhsv(59, 51%, 80%)
CMYKcmyk(0%, 1%, 51%, 20%)
CIE-LABlab(79.61, -13.06, 50.56)
CIE-LCHlch(79.61, 52.22, 104.49°)
OKLaboklab(81.97% -0.0383 0.119)
OKLCHoklch(81.97% 0.125 107.8)
XYZxyz(48.3238, 55.9998, 20.3176)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA64 #6466CC
analogous
#CC9664 #CCCA64 #9ACC64
triadic
#CCCA64 #64CCCA #CA64CC
tetradic
#CCCA64 #64CC96 #6466CC #CC649A
square
#CCCA64 #64CC96 #6466CC #CC649A
split-complementary
#CCCA64 #649ACC #9664CC
monochromatic
#89872D #B7B43C #CCCA64 #DBDA92 #EAE9C0

Accessibility & contrast

On white

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

On black

12.20
#CCCA64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA64
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA64#FFFFFF#000000##000000
##CCCA641.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35A
Deuteranopia (green-blind)
#DAC769
Tritanopia (blue-blind)
#D8BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca64;
/* rgb */ color: rgb(204, 202, 100);
/* oklch */ color: oklch(82.0% 0.125 107.8);
Tailwind
colors: {
  custom: {
    50: '#deda93',
    500: '#ccca64',
    950: '#000000',
  },
}
SCSS
$custom: #ccca64;
$custom-light: #deda93;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca64",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 100
  },
  "hsl": {
    "h": 58.846,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81972,
    "c": 0.12505,
    "h": 107.8
  },
  "luminance": 0.55999
}

Semantic roles & 50–950 ramp

primary
#CCCA64
secondary
#454690
accent
#51DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCA64

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

Preview Lab → · Contrast checker → · Palette generator →

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