#CCC651#CCC651

#CCC651 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.138 H 106.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CCC651
RGBrgb(204, 198, 81)
HSLhsl(57, 55%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 2.9%, 60.3%, 20%)
CIE-LABlab(78.36, -12.50, 57.77)
CIE-LCHlch(78.36, 59.11, 102.21°)
OKLaboklab(80.91% -0.0388 0.1323)
OKLCHoklch(80.91% 0.138 106.3)
XYZxyz(46.5827, 53.8211, 15.7177)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC651 #5157CC
analogous
#CC8851 #CCC651 #94CC51
triadic
#CCC651 #51CCC6 #C651CC
tetradic
#CCC651 #51CC88 #5157CC #CC5194
square
#CCC651 #51CC88 #5157CC #CC5194
split-complementary
#CCC651 #5194CC #8851CC
monochromatic
#7E7925 #ADA733 #CCC651 #DAD680 #E8E5B0

Accessibility & contrast

On white

1.79
#CCC651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CCC651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC651
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC651#FFFFFF#000000##000000
##CCC6511.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#DABAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc651;
/* rgb */ color: rgb(204, 198, 81);
/* oklch */ color: oklch(80.9% 0.138 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded787',
    500: '#ccc651',
    950: '#000000',
  },
}
SCSS
$custom: #ccc651;
$custom-light: #ded787;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc651",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 57.073,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80911,
    "c": 0.13787,
    "h": 106.3
  },
  "luminance": 0.5382
}

Semantic roles & 50–950 ramp

primary
#CCC651
secondary
#3C3F86
accent
#51DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CCC651

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

Preview Lab → · Contrast checker → · Palette generator →

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