#CCCA55#CCCA55

#CCCA55 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.139 H 108.2°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CCCA55
RGBrgb(204, 202, 85)
HSLhsl(59, 54%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 1%, 58.3%, 20%)
CIE-LABlab(79.46, -14.24, 57.24)
CIE-LCHlch(79.46, 58.98, 103.97°)
OKLaboklab(81.8% -0.0433 0.1317)
OKLCHoklch(81.8% 0.139 108.2)
XYZxyz(47.6635, 55.7357, 16.8399)
Luminance0.5573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA55 #5557CC
analogous
#CC8F55 #CCCA55 #93CC55
triadic
#CCCA55 #55CCCA #CA55CC
tetradic
#CCCA55 #55CC8F #5557CC #CC5593
square
#CCCA55 #55CC8F #5557CC #CC5593
split-complementary
#CCCA55 #5593CC #8F55CC
monochromatic
#807F26 #AFAD35 #CCCA55 #DAD984 #E8E7B3

Accessibility & contrast

On white

1.73
#CCCA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CCCA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA55
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA55#FFFFFF#000000##000000
##CCCA551.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C248
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca55;
/* rgb */ color: rgb(204, 202, 85);
/* oklch */ color: oklch(81.8% 0.139 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded989',
    500: '#ccca55',
    950: '#000000',
  },
}
SCSS
$custom: #ccca55;
$custom-light: #ded989;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca55",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 58.992,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81804,
    "c": 0.13863,
    "h": 108.2
  },
  "luminance": 0.55734
}

Semantic roles & 50–950 ramp

primary
#CCCA55
secondary
#3D3F88
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA55

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

Preview Lab → · Contrast checker → · Palette generator →

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