#CCCB3C#CCCB3C

#CCCB3C is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.158 H 109.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CCCB3C
RGBrgb(204, 203, 60)
HSLhsl(60, 59%, 52%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0%, 0.5%, 70.6%, 20%)
CIE-LABlab(79.54, -16.23, 67.32)
CIE-LCHlch(79.54, 69.25, 103.55°)
OKLaboklab(81.81% -0.0515 0.1492)
OKLCHoklch(81.81% 0.158 109)
XYZxyz(47.0751, 55.8769, 12.5797)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB3C #3C3DCC
analogous
#CC833C #CCCB3C #85CC3C
triadic
#CCCB3C #3CCCCB #CB3CCC
tetradic
#CCCB3C #3CCC83 #3C3DCC #CC3C85
square
#CCCB3C #3CCC83 #3C3DCC #CC3C85
split-complementary
#CCCB3C #3C85CC #833CCC
monochromatic
#70701D #A1A02A #CCCB3C #D9D86D #E5E59D

Accessibility & contrast

On white

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

On black

12.18
#CCCB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB3C
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB3C#FFFFFF#000000##000000
##CCCB3C1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC323
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#DABEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb3c;
/* rgb */ color: rgb(204, 203, 60);
/* oklch */ color: oklch(81.8% 0.158 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfda7b',
    500: '#cccb3c',
    950: '#000000',
  },
}
SCSS
$custom: #cccb3c;
$custom-light: #dfda7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb3c",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 60
  },
  "hsl": {
    "h": 59.583,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81808,
    "c": 0.15784,
    "h": 109
  },
  "luminance": 0.55875
}

Semantic roles & 50–950 ramp

primary
#CCCB3C
secondary
#333379
accent
#47E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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