#CCCF52#CCCF52

#CCCF52 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.8% C 0.146 H 110.5°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CCCF52
RGBrgb(204, 207, 82)
HSLhsl(61, 57%, 57%)
HSVhsv(61, 60%, 81%)
CMYKcmyk(1.4%, 0%, 60.4%, 18.8%)
CIE-LABlab(80.78, -16.95, 59.97)
CIE-LCHlch(80.78, 62.32, 105.78°)
OKLaboklab(82.85% -0.0513 0.1371)
OKLCHoklch(82.85% 0.146 110.5)
XYZxyz(48.7390, 58.0734, 16.6228)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF52 #5552CF
analogous
#CF9452 #CCCF52 #8ECF52
triadic
#CCCF52 #52CCCF #CF52CC
tetradic
#CCCF52 #52CF94 #5552CF #CF528E
square
#CCCF52 #52CF94 #5552CF #CF528E
split-complementary
#CCCF52 #528ECF #9452CF
monochromatic
#808224 #AFB231 #CCCF52 #DADC82 #E8EAB2

Accessibility & contrast

On white

1.66
#CCCF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#CCCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF52
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF52#FFFFFF#000000##000000
##CCCF521.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#D9C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccf52;
/* rgb */ color: rgb(204, 207, 82);
/* oklch */ color: oklch(82.8% 0.146 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedd88',
    500: '#cccf52',
    950: '#000000',
  },
}
SCSS
$custom: #cccf52;
$custom-light: #dedd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf52",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 61.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82846,
    "c": 0.14638,
    "h": 110.5
  },
  "luminance": 0.58072
}

Semantic roles & 50–950 ramp

primary
#CCCF52
secondary
#3D3C8A
accent
#48E04C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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