#CCCB50#CCCB50

#CCCB50 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.144 H 108.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CCCB50
RGBrgb(204, 203, 80)
HSLhsl(60, 55%, 56%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0.5%, 60.8%, 20%)
CIE-LABlab(79.69, -15.09, 59.64)
CIE-LCHlch(79.69, 61.52, 104.20°)
OKLaboklab(81.97% -0.0462 0.1361)
OKLCHoklch(81.97% 0.144 108.8)
XYZxyz(47.7072, 56.1298, 15.9089)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB50 #5051CC
analogous
#CC8D50 #CCCB50 #8FCC50
triadic
#CCCB50 #50CCCB #CB50CC
tetradic
#CCCB50 #50CC8D #5051CC #CC508F
square
#CCCB50 #50CC8D #5051CC #CC508F
split-complementary
#CCCB50 #508FCC #8D50CC
monochromatic
#7D7C24 #ADAC32 #CCCB50 #DAD97F #E8E7AF

Accessibility & contrast

On white

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

On black

12.23
#CCCB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB50
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB50#FFFFFF#000000##000000
##CCCB501.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#DABFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb50;
/* rgb */ color: rgb(204, 203, 80);
/* oklch */ color: oklch(82.0% 0.144 108.8);
Tailwind
colors: {
  custom: {
    50: '#deda86',
    500: '#cccb50',
    950: '#000000',
  },
}
SCSS
$custom: #cccb50;
$custom-light: #deda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb50",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 59.516,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81969,
    "c": 0.14377,
    "h": 108.8
  },
  "luminance": 0.56128
}

Semantic roles & 50–950 ramp

primary
#CCCB50
secondary
#3B3C85
accent
#4BDE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CCCB50

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

Preview Lab → · Contrast checker → · Palette generator →

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