#CCCB45#CCCB45

#CCCB45 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.152 H 108.9°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CCCB45
RGBrgb(204, 203, 69)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0.5%, 66.2%, 20%)
CIE-LABlab(79.60, -15.76, 64.03)
CIE-LCHlch(79.60, 65.94, 103.83°)
OKLaboklab(81.87% -0.0493 0.1438)
OKLCHoklch(81.87% 0.152 108.9)
XYZxyz(47.3336, 55.9803, 13.9410)
Luminance0.5598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB45 #4546CC
analogous
#CC8745 #CCCB45 #89CC45
triadic
#CCCB45 #45CCCB #CB45CC
tetradic
#CCCB45 #45CC87 #4546CC #CC4589
square
#CCCB45 #45CC87 #4546CC #CC4589
split-complementary
#CCCB45 #4589CC #8745CC
monochromatic
#767620 #A6A52E #CCCB45 #D9D875 #E6E6A5

Accessibility & contrast

On white

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

On black

12.20
#CCCB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB45
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB45#FFFFFF#000000##000000
##CCCB451.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccb45;
/* rgb */ color: rgb(204, 203, 69);
/* oklch */ color: oklch(81.9% 0.152 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfda80',
    500: '#cccb45',
    950: '#000000',
  },
}
SCSS
$custom: #cccb45;
$custom-light: #dfda80;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb45",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 59.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81874,
    "c": 0.15197,
    "h": 108.9
  },
  "luminance": 0.55979
}

Semantic roles & 50–950 ramp

primary
#CCCB45
secondary
#36377F
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB45

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

Preview Lab → · Contrast checker → · Palette generator →

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