#CCCB33#CCCB33

#CCCB33 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.163 H 109.1°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CCCB33
RGBrgb(204, 203, 51)
HSLhsl(60, 60%, 50%)
HSVhsv(60, 75%, 80%)
CMYKcmyk(0%, 0.5%, 75%, 20%)
CIE-LABlab(79.49, -16.63, 70.29)
CIE-LCHlch(79.49, 72.23, 103.31°)
OKLaboklab(81.75% -0.0534 0.1539)
OKLCHoklch(81.75% 0.163 109.1)
XYZxyz(46.8571, 55.7897, 11.4316)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB33 #3334CC
analogous
#CC7F33 #CCCB33 #80CC33
triadic
#CCCB33 #33CCCB #CB33CC
tetradic
#CCCB33 #33CC7F #3334CC #CC3380
square
#CCCB33 #33CC7F #3334CC #CC3380
split-complementary
#CCCB33 #3380CC #7F33CC
monochromatic
#6A6A1B #9B9A27 #CCCB33 #D8D764 #E4E495

Accessibility & contrast

On white

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

On black

12.16
#CCCB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB33
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB33#FFFFFF#000000##000000
##CCCB331.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC20C
Deuteranopia (green-blind)
#DEC740
Tritanopia (blue-blind)
#DBBEAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb33;
/* rgb */ color: rgb(204, 203, 51);
/* oklch */ color: oklch(81.8% 0.163 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfda77',
    500: '#cccb33',
    950: '#000000',
  },
}
SCSS
$custom: #cccb33;
$custom-light: #dfda77;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb33",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 51
  },
  "hsl": {
    "h": 59.608,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81752,
    "c": 0.16291,
    "h": 109.1
  },
  "luminance": 0.55788
}

Semantic roles & 50–950 ramp

primary
#CCCB33
secondary
#2F3074
accent
#46E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCCB33

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

Preview Lab → · Contrast checker → · Palette generator →

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