#CCCF57#CCCF57

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

Color values

HEX#CCCF57
RGBrgb(204, 207, 87)
HSLhsl(62, 56%, 58%)
HSVhsv(62, 58%, 81%)
CMYKcmyk(1.4%, 0%, 58%, 18.8%)
CIE-LABlab(80.82, -16.60, 57.86)
CIE-LCHlch(80.82, 60.20, 106.01°)
OKLaboklab(82.9% -0.0497 0.1333)
OKLCHoklch(82.9% 0.142 110.5)
XYZxyz(48.9363, 58.1523, 17.6617)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF57 #5A57CF
analogous
#CF9657 #CCCF57 #90CF57
triadic
#CCCF57 #57CCCF #CF57CC
tetradic
#CCCF57 #57CF96 #5A57CF #CF5790
square
#CCCF57 #57CF96 #5A57CF #CF5790
split-complementary
#CCCF57 #5790CF #9657CF
monochromatic
#838526 #B2B534 #CCCF57 #DADD87 #E9EAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCF57#FFFFFF#000000##000000
##CCCF571.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)
#DEC74A
Deuteranopia (green-blind)
#DFCA5E
Tritanopia (blue-blind)
#D9C3B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cccf57;
/* rgb */ color: rgb(204, 207, 87);
/* oklch */ color: oklch(82.9% 0.142 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedd8b',
    500: '#cccf57',
    950: '#000000',
  },
}
SCSS
$custom: #cccf57;
$custom-light: #dedd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf57",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 61.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82895,
    "c": 0.14227,
    "h": 110.5
  },
  "luminance": 0.58151
}

Semantic roles & 50–950 ramp

primary
#CCCF57
secondary
#403E8C
accent
#49DF4D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCCF57

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

Preview Lab → · Contrast checker → · Palette generator →

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