#CCCA61#CCCA61

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

Color values

HEX#CCCA61
RGBrgb(204, 202, 97)
HSLhsl(59, 51%, 59%)
HSVhsv(59, 52%, 80%)
CMYKcmyk(0%, 1%, 52.5%, 20%)
CIE-LABlab(79.58, -13.32, 51.93)
CIE-LCHlch(79.58, 53.61, 104.38°)
OKLaboklab(81.94% -0.0394 0.1217)
OKLCHoklch(81.94% 0.128 107.9)
XYZxyz(48.1813, 55.9428, 19.5669)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA61 #6163CC
analogous
#CC9561 #CCCA61 #99CC61
triadic
#CCCA61 #61CCCA #CA61CC
tetradic
#CCCA61 #61CC95 #6163CC #CC6199
square
#CCCA61 #61CC95 #6163CC #CC6199
split-complementary
#CCCA61 #6199CC #9561CC
monochromatic
#87852C #B5B33B #CCCA61 #DBDA8F #EAE9BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCA61#FFFFFF#000000##000000
##CCCA611.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)
#D8C357
Deuteranopia (green-blind)
#DAC766
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca61;
/* rgb */ color: rgb(204, 202, 97);
/* oklch */ color: oklch(81.9% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#deda91',
    500: '#ccca61',
    950: '#000000',
  },
}
SCSS
$custom: #ccca61;
$custom-light: #deda91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca61",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 97
  },
  "hsl": {
    "h": 58.879,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81936,
    "c": 0.12791,
    "h": 107.9
  },
  "luminance": 0.55941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCA61

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

Preview Lab → · Contrast checker → · Palette generator →

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