#CCCA50#CCCA50

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

Color values

HEX#CCCA50
RGBrgb(204, 202, 80)
HSLhsl(59, 55%, 56%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1%, 60.8%, 20%)
CIE-LABlab(79.42, -14.58, 59.35)
CIE-LCHlch(79.42, 61.12, 103.81°)
OKLaboklab(81.76% -0.0448 0.1355)
OKLCHoklch(81.76% 0.143 108.3)
XYZxyz(47.4718, 55.6590, 15.8305)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA50 #5052CC
analogous
#CC8C50 #CCCA50 #90CC50
triadic
#CCCA50 #50CCCA #CA50CC
tetradic
#CCCA50 #50CC8C #5052CC #CC5090
square
#CCCA50 #50CC8C #5052CC #CC5090
split-complementary
#CCCA50 #5090CC #8C50CC
monochromatic
#7D7C24 #ADAB32 #CCCA50 #DAD87F #E8E7AF

Accessibility & contrast

On white

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

On black

12.13
#CCCA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA50
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA50#FFFFFF#000000##000000
##CCCA501.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C241
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca50;
/* rgb */ color: rgb(204, 202, 80);
/* oklch */ color: oklch(81.8% 0.143 108.3);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#ccca50',
    950: '#000000',
  },
}
SCSS
$custom: #ccca50;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca50",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 59.032,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81755,
    "c": 0.14274,
    "h": 108.3
  },
  "luminance": 0.55658
}

Semantic roles & 50–950 ramp

primary
#CCCA50
secondary
#3B3C85
accent
#4CDE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCA50

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

Preview Lab → · Contrast checker → · Palette generator →

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