#CCC657#CCC657

#CCC657 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.133 H 106.1°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CCC657
RGBrgb(204, 198, 87)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 2.9%, 57.4%, 20%)
CIE-LABlab(78.41, -12.07, 55.18)
CIE-LCHlch(78.41, 56.48, 102.34°)
OKLaboklab(80.97% -0.0369 0.1276)
OKLCHoklch(80.97% 0.133 106.1)
XYZxyz(46.8177, 53.9151, 16.9555)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC657 #575DCC
analogous
#CC8C57 #CCC657 #98CC57
triadic
#CCC657 #57CCC6 #C657CC
tetradic
#CCC657 #57CC8C #575DCC #CC5798
square
#CCC657 #57CC8C #575DCC #CC5798
split-complementary
#CCC657 #5798CC #8C57CC
monochromatic
#817D27 #B0AA36 #CCC657 #DAD686 #E9E6B5

Accessibility & contrast

On white

1.78
#CCC657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CCC657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC657
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC657#FFFFFF#000000##000000
##CCC6571.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#DABAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc657;
/* rgb */ color: rgb(204, 198, 87);
/* oklch */ color: oklch(81.0% 0.133 106.1);
Tailwind
colors: {
  custom: {
    50: '#ded78a',
    500: '#ccc657',
    950: '#000000',
  },
}
SCSS
$custom: #ccc657;
$custom-light: #ded78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc657",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 56.923,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80973,
    "c": 0.1328,
    "h": 106.1
  },
  "luminance": 0.53914
}

Semantic roles & 50–950 ramp

primary
#CCC657
secondary
#3E4289
accent
#52DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC657

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

Preview Lab → · Contrast checker → · Palette generator →

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