#CCCD32#CCCD32

#CCCD32 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.165 H 109.9°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CCCD32
RGBrgb(204, 205, 50)
HSLhsl(60, 61%, 50%)
HSVhsv(60, 76%, 80%)
CMYKcmyk(0.5%, 0%, 75.6%, 19.6%)
CIE-LABlab(80.03, -17.66, 71.10)
CIE-LCHlch(80.03, 73.26, 103.95°)
OKLaboklab(82.18% -0.0563 0.1554)
OKLCHoklch(82.18% 0.165 109.9)
XYZxyz(47.3106, 56.7317, 11.4751)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD32 #3332CD
analogous
#CD8032 #CCCD32 #7FCD32
triadic
#CCCD32 #32CCCD #CD32CC
tetradic
#CCCD32 #32CD80 #3332CD #CD327F
square
#CCCD32 #32CD80 #3332CD #CD327F
split-complementary
#CCCD32 #327FCD #8032CD
monochromatic
#6A6B1A #9B9C26 #CCCD32 #D8D963 #E4E594

Accessibility & contrast

On white

1.70
#CCCD32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CCCD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD32
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD32#FFFFFF#000000##000000
##CCCD321.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC406
Deuteranopia (green-blind)
#DFC93F
Tritanopia (blue-blind)
#DBC0B0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccd32;
/* rgb */ color: rgb(204, 205, 50);
/* oklch */ color: oklch(82.2% 0.165 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdc77',
    500: '#cccd32',
    950: '#000000',
  },
}
SCSS
$custom: #cccd32;
$custom-light: #dfdc77;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd32",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 50
  },
  "hsl": {
    "h": 60.387,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.82178,
    "c": 0.16534,
    "h": 109.9
  },
  "luminance": 0.5673
}

Semantic roles & 50–950 ramp

primary
#CCCD32
secondary
#2F2F74
accent
#44E445
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCCD32

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

Preview Lab → · Contrast checker → · Palette generator →

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