#CCC856#CCC856

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

Color values

HEX#CCC856
RGBrgb(204, 200, 86)
HSLhsl(58, 54%, 57%)
HSVhsv(58, 58%, 80%)
CMYKcmyk(0%, 2%, 57.8%, 20%)
CIE-LABlab(78.94, -13.16, 56.21)
CIE-LCHlch(78.94, 57.73, 103.18°)
OKLaboklab(81.39% -0.0401 0.1296)
OKLCHoklch(81.39% 0.136 107.2)
XYZxyz(47.2373, 54.8192, 16.8952)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC856 #565ACC
analogous
#CC8D56 #CCC856 #95CC56
triadic
#CCC856 #56CCC8 #C856CC
tetradic
#CCC856 #56CC8D #565ACC #CC5695
square
#CCC856 #56CC8D #565ACC #CC5695
split-complementary
#CCC856 #5695CC #8D56CC
monochromatic
#817E27 #B0AC35 #CCC856 #DAD785 #E8E7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC856#FFFFFF#000000##000000
##CCC8561.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)
#D7C14A
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#D9BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc856;
/* rgb */ color: rgb(204, 200, 86);
/* oklch */ color: oklch(81.4% 0.136 107.2);
Tailwind
colors: {
  custom: {
    50: '#ded88a',
    500: '#ccc856',
    950: '#000000',
  },
}
SCSS
$custom: #ccc856;
$custom-light: #ded88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc856",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 57.966,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81387,
    "c": 0.13571,
    "h": 107.2
  },
  "luminance": 0.54818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC856

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

Preview Lab → · Contrast checker → · Palette generator →

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