#CCC855#CCC855

#CCC855 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.137 H 107.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CCC855
RGBrgb(204, 200, 85)
HSLhsl(58, 54%, 57%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 2%, 58.3%, 20%)
CIE-LABlab(78.93, -13.23, 56.64)
CIE-LCHlch(78.93, 58.17, 103.15°)
OKLaboklab(81.38% -0.0404 0.1304)
OKLCHoklch(81.38% 0.137 107.2)
XYZxyz(47.1973, 54.8032, 16.6845)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC855 #5559CC
analogous
#CC8D55 #CCC855 #95CC55
triadic
#CCC855 #55CCC8 #C855CC
tetradic
#CCC855 #55CC8D #5559CC #CC5595
square
#CCC855 #55CC8D #5559CC #CC5595
split-complementary
#CCC855 #5595CC #8D55CC
monochromatic
#807D26 #AFAB35 #CCC855 #DAD784 #E8E6B3

Accessibility & contrast

On white

1.76
#CCC855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CCC855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC855
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC855#FFFFFF#000000##000000
##CCC8551.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C148
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#DABCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc855;
/* rgb */ color: rgb(204, 200, 85);
/* oklch */ color: oklch(81.4% 0.137 107.2);
Tailwind
colors: {
  custom: {
    50: '#ded889',
    500: '#ccc855',
    950: '#000000',
  },
}
SCSS
$custom: #ccc855;
$custom-light: #ded889;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc855",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 57.983,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81377,
    "c": 0.13656,
    "h": 107.2
  },
  "luminance": 0.54802
}

Semantic roles & 50–950 ramp

primary
#CCC855
secondary
#3D4088
accent
#50DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC855

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

Preview Lab → · Contrast checker → · Palette generator →

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