#CCCA65#CCCA65

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

Color values

HEX#CCCA65
RGBrgb(204, 202, 101)
HSLhsl(59, 50%, 60%)
HSVhsv(59, 50%, 80%)
CMYKcmyk(0%, 1%, 50.5%, 20%)
CIE-LABlab(79.62, -12.98, 50.10)
CIE-LCHlch(79.62, 51.76, 104.52°)
OKLaboklab(81.99% -0.038 0.1181)
OKLCHoklch(81.99% 0.124 107.8)
XYZxyz(48.3725, 56.0193, 20.5741)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA65 #6567CC
analogous
#CC9765 #CCCA65 #9BCC65
triadic
#CCCA65 #65CCCA #CA65CC
tetradic
#CCCA65 #65CC97 #6567CC #CC659B
square
#CCCA65 #65CC97 #6567CC #CC659B
split-complementary
#CCCA65 #659BCC #9765CC
monochromatic
#89872D #B7B53D #CCCA65 #DBDA93 #EAEAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA65#FFFFFF#000000##000000
##CCCA651.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)
#D8C35C
Deuteranopia (green-blind)
#DAC76A
Tritanopia (blue-blind)
#D8BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca65;
/* rgb */ color: rgb(204, 202, 101);
/* oklch */ color: oklch(82.0% 0.124 107.8);
Tailwind
colors: {
  custom: {
    50: '#deda93',
    500: '#ccca65',
    950: '#000000',
  },
}
SCSS
$custom: #ccca65;
$custom-light: #deda93;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca65",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 101
  },
  "hsl": {
    "h": 58.835,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81985,
    "c": 0.12408,
    "h": 107.8
  },
  "luminance": 0.56018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCA65

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

Preview Lab → · Contrast checker → · Palette generator →

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