#CCCA68#CCCA68

#CCCA68 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.121 H 107.7°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CCCA68
RGBrgb(204, 202, 104)
HSLhsl(59, 50%, 60%)
HSVhsv(59, 49%, 80%)
CMYKcmyk(0%, 1%, 49%, 20%)
CIE-LABlab(79.66, -12.71, 48.71)
CIE-LCHlch(79.66, 50.35, 104.62°)
OKLaboklab(82.02% -0.0369 0.1154)
OKLCHoklch(82.02% 0.121 107.7)
XYZxyz(48.5222, 56.0791, 21.3624)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA68 #686ACC
analogous
#CC9868 #CCCA68 #9CCC68
triadic
#CCCA68 #68CCCA #CA68CC
tetradic
#CCCA68 #68CC98 #686ACC #CC689C
square
#CCCA68 #68CC98 #686ACC #CC689C
split-complementary
#CCCA68 #689CCC #9868CC
monochromatic
#8B892F #B8B63E #CCCA68 #DBDA96 #EBEAC3

Accessibility & contrast

On white

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

On black

12.22
#CCCA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA68
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA68#FFFFFF#000000##000000
##CCCA681.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca68;
/* rgb */ color: rgb(204, 202, 104);
/* oklch */ color: oklch(82.0% 0.121 107.7);
Tailwind
colors: {
  custom: {
    50: '#ddda95',
    500: '#ccca68',
    950: '#000000',
  },
}
SCSS
$custom: #ccca68;
$custom-light: #ddda95;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca68",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 58.8,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82023,
    "c": 0.12113,
    "h": 107.7
  },
  "luminance": 0.56078
}

Semantic roles & 50–950 ramp

primary
#CCCA68
secondary
#474892
accent
#2CBD29
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCCA68

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

Preview Lab → · Contrast checker → · Palette generator →

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