#CCC561#CCC561

#CCC561 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.123 H 105.2°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CCC561
RGBrgb(204, 197, 97)
HSLhsl(56, 51%, 59%)
HSVhsv(56, 52%, 80%)
CMYKcmyk(0%, 3.4%, 52.5%, 20%)
CIE-LABlab(78.25, -10.78, 50.38)
CIE-LCHlch(78.25, 51.52, 102.08°)
OKLaboklab(80.88% -0.0321 0.1183)
OKLCHoklch(80.88% 0.123 105.2)
XYZxyz(47.0271, 53.6344, 19.1822)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC561 #6168CC
analogous
#CC9061 #CCC561 #9ECC61
triadic
#CCC561 #61CCC5 #C561CC
tetradic
#CCC561 #61CC90 #6168CC #CC619E
square
#CCC561 #61CC90 #6168CC #CC619E
split-complementary
#CCC561 #619ECC #9061CC
monochromatic
#87812C #B5AD3B #CCC561 #DBD68F #EAE7BE

Accessibility & contrast

On white

1.79
#CCC561 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CCC561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC561
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC561#FFFFFF#000000##000000
##CCC5611.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF58
Deuteranopia (green-blind)
#D6C466
Tritanopia (blue-blind)
#D9BAAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc561;
/* rgb */ color: rgb(204, 197, 97);
/* oklch */ color: oklch(80.9% 0.123 105.2);
Tailwind
colors: {
  custom: {
    50: '#ded691',
    500: '#ccc561',
    950: '#000000',
  },
}
SCSS
$custom: #ccc561;
$custom-light: #ded691;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc561",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 97
  },
  "hsl": {
    "h": 56.075,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80875,
    "c": 0.12262,
    "h": 105.2
  },
  "luminance": 0.53633
}

Semantic roles & 50–950 ramp

primary
#CCC561
secondary
#43488E
accent
#56DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC561

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

Preview Lab → · Contrast checker → · Palette generator →

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