#CCC956#CCC956

#CCC956 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.137 H 107.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CCC956
RGBrgb(204, 201, 86)
HSLhsl(58, 54%, 57%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 1.5%, 57.8%, 20%)
CIE-LABlab(79.20, -13.66, 56.51)
CIE-LCHlch(79.20, 58.14, 103.59°)
OKLaboklab(81.6% -0.0415 0.1303)
OKLCHoklch(81.6% 0.137 107.7)
XYZxyz(47.4696, 55.2839, 16.9726)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC956 #5659CC
analogous
#CC8E56 #CCC956 #94CC56
triadic
#CCC956 #56CCC9 #C956CC
tetradic
#CCC956 #56CC8E #5659CC #CC5694
square
#CCC956 #56CC8E #5659CC #CC5694
split-complementary
#CCC956 #5694CC #8E56CC
monochromatic
#817E27 #B0AD35 #CCC956 #DAD885 #E8E7B4

Accessibility & contrast

On white

1.74
#CCC956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CCC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC956
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC956#FFFFFF#000000##000000
##CCC9561.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C249
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#D9BDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc956;
/* rgb */ color: rgb(204, 201, 86);
/* oklch */ color: oklch(81.6% 0.137 107.7);
Tailwind
colors: {
  custom: {
    50: '#ded98a',
    500: '#ccc956',
    950: '#000000',
  },
}
SCSS
$custom: #ccc956;
$custom-light: #ded98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc956",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 58.475,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81601,
    "c": 0.13674,
    "h": 107.7
  },
  "luminance": 0.55283
}

Semantic roles & 50–950 ramp

primary
#CCC956
secondary
#3E4088
accent
#4EDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC956

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

Preview Lab → · Contrast checker → · Palette generator →

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