#CCC955#CCC955

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

Color values

HEX#CCC955
RGBrgb(204, 201, 85)
HSLhsl(58, 54%, 57%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 1.5%, 58.3%, 20%)
CIE-LABlab(79.20, -13.74, 56.94)
CIE-LCHlch(79.20, 58.57, 103.56°)
OKLaboklab(81.59% -0.0418 0.1311)
OKLCHoklch(81.59% 0.138 107.7)
XYZxyz(47.4296, 55.2679, 16.7619)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC955 #5558CC
analogous
#CC8E55 #CCC955 #94CC55
triadic
#CCC955 #55CCC9 #C955CC
tetradic
#CCC955 #55CC8E #5558CC #CC5594
square
#CCC955 #55CC8E #5558CC #CC5594
split-complementary
#CCC955 #5594CC #8E55CC
monochromatic
#807E26 #AFAC35 #CCC955 #DAD884 #E8E7B3

Accessibility & contrast

On white

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

On black

12.05
#CCC955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC955
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC955#FFFFFF#000000##000000
##CCC9551.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc955;
/* rgb */ color: rgb(204, 201, 85);
/* oklch */ color: oklch(81.6% 0.138 107.7);
Tailwind
colors: {
  custom: {
    50: '#ded989',
    500: '#ccc955',
    950: '#000000',
  },
}
SCSS
$custom: #ccc955;
$custom-light: #ded989;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc955",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 85
  },
  "hsl": {
    "h": 58.487,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8159,
    "c": 0.13759,
    "h": 107.7
  },
  "luminance": 0.55267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC955

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

Preview Lab → · Contrast checker → · Palette generator →

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