#CCC156#CCC156

#CCC156 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.129 H 103.5°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CCC156
RGBrgb(204, 193, 86)
HSLhsl(54, 54%, 57%)
HSVhsv(54, 58%, 80%)
CMYKcmyk(0%, 5.4%, 57.8%, 20%)
CIE-LABlab(77.07, -9.60, 54.13)
CIE-LCHlch(77.07, 54.97, 100.05°)
OKLaboklab(79.9% -0.0299 0.1252)
OKLCHoklch(79.9% 0.129 103.5)
XYZxyz(45.6531, 51.6508, 16.3671)
Luminance0.5165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC156 #5661CC
analogous
#CC8656 #CCC156 #9CCC56
triadic
#CCC156 #56CCC1 #C156CC
tetradic
#CCC156 #56CC86 #5661CC #CC569C
square
#CCC156 #56CC86 #5661CC #CC569C
split-complementary
#CCC156 #569CCC #8656CC
monochromatic
#817827 #B0A435 #CCC156 #DAD285 #E8E3B4

Accessibility & contrast

On white

1.85
#CCC156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CCC156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC156
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC156#FFFFFF#000000##000000
##CCC1561.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB4B
Deuteranopia (green-blind)
#D4C15C
Tritanopia (blue-blind)
#DAB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc156;
/* rgb */ color: rgb(204, 193, 86);
/* oklch */ color: oklch(79.9% 0.129 103.5);
Tailwind
colors: {
  custom: {
    50: '#ded389',
    500: '#ccc156',
    950: '#000000',
  },
}
SCSS
$custom: #ccc156;
$custom-light: #ded389;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc156",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 54.407,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79903,
    "c": 0.12872,
    "h": 103.5
  },
  "luminance": 0.51649
}

Semantic roles & 50–950 ramp

primary
#CCC156
secondary
#3E4588
accent
#58DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC156

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

Preview Lab → · Contrast checker → · Palette generator →

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