#CCC357#CCC357

#CCC357 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.130 H 104.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CCC357
RGBrgb(204, 195, 87)
HSLhsl(55, 53%, 57%)
HSVhsv(55, 57%, 80%)
CMYKcmyk(0%, 4.4%, 57.4%, 20%)
CIE-LABlab(77.61, -10.55, 54.28)
CIE-LCHlch(77.61, 55.30, 100.99°)
OKLaboklab(80.34% -0.0325 0.1257)
OKLCHoklch(80.34% 0.13 104.5)
XYZxyz(46.1388, 52.5573, 16.7291)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC357 #5760CC
analogous
#CC8957 #CCC357 #9ACC57
triadic
#CCC357 #57CCC3 #C357CC
tetradic
#CCC357 #57CC89 #5760CC #CC579A
square
#CCC357 #57CC89 #5760CC #CC579A
split-complementary
#CCC357 #579ACC #8957CC
monochromatic
#817A27 #B0A736 #CCC357 #DAD486 #E9E5B5

Accessibility & contrast

On white

1.82
#CCC357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CCC357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC357
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC357#FFFFFF#000000##000000
##CCC3571.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4C
Deuteranopia (green-blind)
#D6C25D
Tritanopia (blue-blind)
#DAB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc357;
/* rgb */ color: rgb(204, 195, 87);
/* oklch */ color: oklch(80.3% 0.130 104.5);
Tailwind
colors: {
  custom: {
    50: '#ded48a',
    500: '#ccc357',
    950: '#000000',
  },
}
SCSS
$custom: #ccc357;
$custom-light: #ded48a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc357",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 55.385,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80337,
    "c": 0.1298,
    "h": 104.5
  },
  "luminance": 0.52556
}

Semantic roles & 50–950 ramp

primary
#CCC357
secondary
#3E4489
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC357

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

Preview Lab → · Contrast checker → · Palette generator →

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