#CCCF32#CCCF32

#CCCF32 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.6% C 0.167 H 110.7°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CCCF32
RGBrgb(204, 207, 50)
HSLhsl(61, 62%, 50%)
HSVhsv(61, 76%, 81%)
CMYKcmyk(1.4%, 0%, 75.8%, 18.8%)
CIE-LABlab(80.57, -18.65, 71.59)
CIE-LCHlch(80.57, 73.98, 104.60°)
OKLaboklab(82.61% -0.0591 0.1565)
OKLCHoklch(82.61% 0.167 110.7)
XYZxyz(47.7921, 57.6946, 11.6356)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF32 #3532CF
analogous
#CF8332 #CCCF32 #7ECF32
triadic
#CCCF32 #32CCCF #CF32CC
tetradic
#CCCF32 #32CF83 #3532CF #CF327E
square
#CCCF32 #32CF83 #3532CF #CF327E
split-complementary
#CCCF32 #327ECF #8332CF
monochromatic
#6B6D1A #9C9F25 #CCCF32 #D8DB64 #E5E695

Accessibility & contrast

On white

1.67
#CCCF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CCCF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF32
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF32#FFFFFF#000000##000000
##CCCF321.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C604
Deuteranopia (green-blind)
#E1CA40
Tritanopia (blue-blind)
#DAC2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf32;
/* rgb */ color: rgb(204, 207, 50);
/* oklch */ color: oklch(82.6% 0.167 110.7);
Tailwind
colors: {
  custom: {
    50: '#dfdd77',
    500: '#cccf32',
    950: '#000000',
  },
}
SCSS
$custom: #cccf32;
$custom-light: #dfdd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf32",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 50
  },
  "hsl": {
    "h": 61.146,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.8261,
    "c": 0.16728,
    "h": 110.7
  },
  "luminance": 0.57693
}

Semantic roles & 50–950 ramp

primary
#CCCF32
secondary
#302F76
accent
#43E546
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCCF32

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

Preview Lab → · Contrast checker → · Palette generator →

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