#CCC661#CCC661

#CCC661 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.124 H 105.8°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CCC661
RGBrgb(204, 198, 97)
HSLhsl(57, 51%, 59%)
HSVhsv(57, 52%, 80%)
CMYKcmyk(0%, 2.9%, 52.5%, 20%)
CIE-LABlab(78.51, -11.29, 50.69)
CIE-LCHlch(78.51, 51.93, 102.55°)
OKLaboklab(81.09% -0.0336 0.119)
OKLCHoklch(81.09% 0.124 105.8)
XYZxyz(47.2549, 54.0900, 19.2581)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC661 #6167CC
analogous
#CC9161 #CCC661 #9DCC61
triadic
#CCC661 #61CCC6 #C661CC
tetradic
#CCC661 #61CC91 #6167CC #CC619D
square
#CCC661 #61CC91 #6167CC #CC619D
split-complementary
#CCC661 #619DCC #9161CC
monochromatic
#87822C #B5AE3B #CCC661 #DBD78F #EAE7BE

Accessibility & contrast

On white

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

On black

11.82
#CCC661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC661
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC661#FFFFFF#000000##000000
##CCC6611.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C057
Deuteranopia (green-blind)
#D7C466
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc661;
/* rgb */ color: rgb(204, 198, 97);
/* oklch */ color: oklch(81.1% 0.124 105.8);
Tailwind
colors: {
  custom: {
    50: '#ded791',
    500: '#ccc661',
    950: '#000000',
  },
}
SCSS
$custom: #ccc661;
$custom-light: #ded791;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc661",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 56.636,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81087,
    "c": 0.12366,
    "h": 105.8
  },
  "luminance": 0.54089
}

Semantic roles & 50–950 ramp

primary
#CCC661
secondary
#43478E
accent
#55DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC661

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

Preview Lab → · Contrast checker → · Palette generator →

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