#CCC551#CCC551

#CCC551 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.137 H 105.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CCC551
RGBrgb(204, 197, 81)
HSLhsl(57, 55%, 56%)
HSVhsv(57, 60%, 80%)
CMYKcmyk(0%, 3.4%, 60.3%, 20%)
CIE-LABlab(78.09, -11.99, 57.48)
CIE-LCHlch(78.09, 58.72, 101.78°)
OKLaboklab(80.7% -0.0373 0.1317)
OKLCHoklch(80.7% 0.137 105.8)
XYZxyz(46.3549, 53.3655, 15.6418)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC551 #5158CC
analogous
#CC8751 #CCC551 #95CC51
triadic
#CCC551 #51CCC5 #C551CC
tetradic
#CCC551 #51CC87 #5158CC #CC5195
square
#CCC551 #51CC87 #5158CC #CC5195
split-complementary
#CCC551 #5195CC #8751CC
monochromatic
#7E7925 #ADA633 #CCC551 #DAD580 #E8E5B0

Accessibility & contrast

On white

1.80
#CCC551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CCC551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC551
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC551#FFFFFF#000000##000000
##CCC5511.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE44
Deuteranopia (green-blind)
#D8C358
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc551;
/* rgb */ color: rgb(204, 197, 81);
/* oklch */ color: oklch(80.7% 0.137 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded686',
    500: '#ccc551',
    950: '#000000',
  },
}
SCSS
$custom: #ccc551;
$custom-light: #ded686;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc551",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 56.585,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80699,
    "c": 0.13688,
    "h": 105.8
  },
  "luminance": 0.53364
}

Semantic roles & 50–950 ramp

primary
#CCC551
secondary
#3C4086
accent
#52DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC551

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

Preview Lab → · Contrast checker → · Palette generator →

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