#CCCF56#CCCF56

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

Color values

HEX#CCCF56
RGBrgb(204, 207, 86)
HSLhsl(61, 56%, 57%)
HSVhsv(61, 58%, 81%)
CMYKcmyk(1.4%, 0%, 58.5%, 18.8%)
CIE-LABlab(80.81, -16.67, 58.29)
CIE-LCHlch(80.81, 60.63, 105.96°)
OKLaboklab(82.88% -0.0501 0.1341)
OKLCHoklch(82.88% 0.143 110.5)
XYZxyz(48.8957, 58.1361, 17.4480)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF56 #5956CF
analogous
#CF9656 #CCCF56 #8FCF56
triadic
#CCCF56 #56CCCF #CF56CC
tetradic
#CCCF56 #56CF96 #5956CF #CF568F
square
#CCCF56 #56CF96 #5956CF #CF568F
split-complementary
#CCCF56 #568FCF #9656CF
monochromatic
#838526 #B1B533 #CCCF56 #DADD86 #E9EAB5

Accessibility & contrast

On white

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

On black

12.63
#CCCF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF56
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF56#FFFFFF#000000##000000
##CCCF561.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC748
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#D9C3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf56;
/* rgb */ color: rgb(204, 207, 86);
/* oklch */ color: oklch(82.9% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedd8a',
    500: '#cccf56',
    950: '#000000',
  },
}
SCSS
$custom: #cccf56;
$custom-light: #dedd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf56",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 61.488,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82884,
    "c": 0.14311,
    "h": 110.5
  },
  "luminance": 0.58135
}

Semantic roles & 50–950 ramp

primary
#CCCF56
secondary
#3F3D8C
accent
#49DF4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCF56

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

Preview Lab → · Contrast checker → · Palette generator →

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