#CCCF51#CCCF51

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

Color values

HEX#CCCF51
RGBrgb(204, 207, 81)
HSLhsl(61, 57%, 56%)
HSVhsv(61, 61%, 81%)
CMYKcmyk(1.4%, 0%, 60.9%, 18.8%)
CIE-LABlab(80.77, -17.02, 60.38)
CIE-LCHlch(80.77, 62.73, 105.74°)
OKLaboklab(82.84% -0.0516 0.1379)
OKLCHoklch(82.84% 0.147 110.5)
XYZxyz(48.7013, 58.0583, 16.4239)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF51 #5451CF
analogous
#CF9351 #CCCF51 #8DCF51
triadic
#CCCF51 #51CCCF #CF51CC
tetradic
#CCCF51 #51CF93 #5451CF #CF518D
square
#CCCF51 #51CF93 #5451CF #CF518D
split-complementary
#CCCF51 #518DCF #9351CF
monochromatic
#808224 #AFB231 #CCCF51 #DADC81 #E8E9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCF51#FFFFFF#000000##000000
##CCCF511.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccf51;
/* rgb */ color: rgb(204, 207, 81);
/* oklch */ color: oklch(82.8% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#dedd87',
    500: '#cccf51',
    950: '#000000',
  },
}
SCSS
$custom: #cccf51;
$custom-light: #dedd87;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf51",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 61.429,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82836,
    "c": 0.14718,
    "h": 110.5
  },
  "luminance": 0.58057
}

Semantic roles & 50–950 ramp

primary
#CCCF51
secondary
#3D3B89
accent
#48E04B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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