#CCCA62#CCCA62

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

Color values

HEX#CCCA62
RGBrgb(204, 202, 98)
HSLhsl(59, 51%, 59%)
HSVhsv(59, 52%, 80%)
CMYKcmyk(0%, 1%, 52%, 20%)
CIE-LABlab(79.59, -13.23, 51.48)
CIE-LCHlch(79.59, 53.15, 104.42°)
OKLaboklab(81.95% -0.039 0.1208)
OKLCHoklch(81.95% 0.127 107.9)
XYZxyz(48.2282, 55.9615, 19.8140)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA62 #6264CC
analogous
#CC9562 #CCCA62 #99CC62
triadic
#CCCA62 #62CCCA #CA62CC
tetradic
#CCCA62 #62CC95 #6264CC #CC6299
square
#CCCA62 #62CC95 #6264CC #CC6299
split-complementary
#CCCA62 #6299CC #9562CC
monochromatic
#88862C #B6B33B #CCCA62 #DBDA90 #EAE9BE

Accessibility & contrast

On white

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

On black

12.19
#CCCA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA62
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA62#FFFFFF#000000##000000
##CCCA621.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#DAC767
Tritanopia (blue-blind)
#D9BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca62;
/* rgb */ color: rgb(204, 202, 98);
/* oklch */ color: oklch(81.9% 0.127 107.9);
Tailwind
colors: {
  custom: {
    50: '#deda91',
    500: '#ccca62',
    950: '#000000',
  },
}
SCSS
$custom: #ccca62;
$custom-light: #deda91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca62",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 58.868,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81948,
    "c": 0.12696,
    "h": 107.9
  },
  "luminance": 0.5596
}

Semantic roles & 50–950 ramp

primary
#CCCA62
secondary
#44458F
accent
#50DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCA62

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

Preview Lab → · Contrast checker → · Palette generator →

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