#CCC557#CCC557

#CCC557 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.132 H 105.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CCC557
RGBrgb(204, 197, 87)
HSLhsl(56, 53%, 57%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.4%, 57.4%, 20%)
CIE-LABlab(78.15, -11.57, 54.88)
CIE-LCHlch(78.15, 56.09, 101.90°)
OKLaboklab(80.76% -0.0355 0.1269)
OKLCHoklch(80.76% 0.132 105.6)
XYZxyz(46.5899, 53.4595, 16.8795)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC557 #575ECC
analogous
#CC8A57 #CCC557 #99CC57
triadic
#CCC557 #57CCC5 #C557CC
tetradic
#CCC557 #57CC8A #575ECC #CC5799
square
#CCC557 #57CC8A #575ECC #CC5799
split-complementary
#CCC557 #5799CC #8A57CC
monochromatic
#817C27 #B0A936 #CCC557 #DAD586 #E9E5B5

Accessibility & contrast

On white

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

On black

11.69
#CCC557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC557
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC557#FFFFFF#000000##000000
##CCC5571.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4B
Deuteranopia (green-blind)
#D7C45D
Tritanopia (blue-blind)
#DAB9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc557;
/* rgb */ color: rgb(204, 197, 87);
/* oklch */ color: oklch(80.8% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#ded68a',
    500: '#ccc557',
    950: '#000000',
  },
}
SCSS
$custom: #ccc557;
$custom-light: #ded68a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc557",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 56.41,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8076,
    "c": 0.13179,
    "h": 105.6
  },
  "luminance": 0.53458
}

Semantic roles & 50–950 ramp

primary
#CCC557
secondary
#3E4389
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC557

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

Preview Lab → · Contrast checker → · Palette generator →

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