#CCC656#CCC656

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

Color values

HEX#CCC656
RGBrgb(204, 198, 86)
HSLhsl(57, 54%, 57%)
HSVhsv(57, 58%, 80%)
CMYKcmyk(0%, 2.9%, 57.8%, 20%)
CIE-LABlab(78.40, -12.15, 55.62)
CIE-LCHlch(78.40, 56.93, 102.32°)
OKLaboklab(80.96% -0.0372 0.1284)
OKLCHoklch(80.96% 0.134 106.2)
XYZxyz(46.7771, 53.8989, 16.7418)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC656 #565CCC
analogous
#CC8B56 #CCC656 #97CC56
triadic
#CCC656 #56CCC6 #C656CC
tetradic
#CCC656 #56CC8B #565CCC #CC5697
square
#CCC656 #56CC8B #565CCC #CC5697
split-complementary
#CCC656 #5697CC #8B56CC
monochromatic
#817C27 #B0AA35 #CCC656 #DAD685 #E8E6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC656#FFFFFF#000000##000000
##CCC6561.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)
#D5BF4A
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#DABAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc656;
/* rgb */ color: rgb(204, 198, 86);
/* oklch */ color: oklch(81.0% 0.134 106.2);
Tailwind
colors: {
  custom: {
    50: '#ded78a',
    500: '#ccc656',
    950: '#000000',
  },
}
SCSS
$custom: #ccc656;
$custom-light: #ded78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc656",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 56.949,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80962,
    "c": 0.13367,
    "h": 106.2
  },
  "luminance": 0.53897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC656

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

Preview Lab → · Contrast checker → · Palette generator →

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