#CCCC33#CCCC33

#CCCC33 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.164 H 109.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CCCC33
RGBrgb(204, 204, 51)
HSLhsl(60, 60%, 50%)
HSVhsv(60, 75%, 80%)
CMYKcmyk(0%, 0%, 75%, 20%)
CIE-LABlab(79.76, -17.12, 70.54)
CIE-LCHlch(79.76, 72.59, 103.64°)
OKLaboklab(81.97% -0.0548 0.1544)
OKLCHoklch(81.97% 0.164 109.5)
XYZxyz(47.0940, 56.2635, 11.5105)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC33 #3333CC
analogous
#CC8033 #CCCC33 #80CC33
triadic
#CCCC33 #33CCCC #CC33CC
tetradic
#CCCC33 #33CC80 #3333CC #CC3380
square
#CCCC33 #33CC80 #3333CC #CC3380
split-complementary
#CCCC33 #337FCC #7F33CC
monochromatic
#6A6A1B #9B9B27 #CCCC33 #D8D864 #E4E495

Accessibility & contrast

On white

1.71
#CCCC33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CCCC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC33
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC33#FFFFFF#000000##000000
##CCCC331.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC30B
Deuteranopia (green-blind)
#DEC840
Tritanopia (blue-blind)
#DBBFAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc33;
/* rgb */ color: rgb(204, 204, 51);
/* oklch */ color: oklch(82.0% 0.164 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdb77',
    500: '#cccc33',
    950: '#000000',
  },
}
SCSS
$custom: #cccc33;
$custom-light: #dfdb77;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc33",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81968,
    "c": 0.16387,
    "h": 109.5
  },
  "luminance": 0.56262
}

Semantic roles & 50–950 ramp

primary
#CCCC33
secondary
#2F2F74
accent
#45E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CCCC33

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

Preview Lab → · Contrast checker → · Palette generator →

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