#CCC756#CCC756

#CCC756 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.135 H 106.7°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CCC756
RGBrgb(204, 199, 86)
HSLhsl(57, 54%, 57%)
HSVhsv(57, 58%, 80%)
CMYKcmyk(0%, 2.5%, 57.8%, 20%)
CIE-LABlab(78.67, -12.65, 55.91)
CIE-LCHlch(78.67, 57.33, 102.75°)
OKLaboklab(81.18% -0.0387 0.129)
OKLCHoklch(81.18% 0.135 106.7)
XYZxyz(47.0064, 54.3575, 16.8182)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC756 #565BCC
analogous
#CC8C56 #CCC756 #96CC56
triadic
#CCC756 #56CCC7 #C756CC
tetradic
#CCC756 #56CC8C #565BCC #CC5696
square
#CCC756 #56CC8C #565BCC #CC5696
split-complementary
#CCC756 #5696CC #8C56CC
monochromatic
#817D27 #B0AB35 #CCC756 #DAD785 #E8E6B4

Accessibility & contrast

On white

1.77
#CCC756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CCC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC756
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC756#FFFFFF#000000##000000
##CCC7561.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc756;
/* rgb */ color: rgb(204, 199, 86);
/* oklch */ color: oklch(81.2% 0.135 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded78a',
    500: '#ccc756',
    950: '#000000',
  },
}
SCSS
$custom: #ccc756;
$custom-light: #ded78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc756",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 57.458,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81175,
    "c": 0.13468,
    "h": 106.7
  },
  "luminance": 0.54356
}

Semantic roles & 50–950 ramp

primary
#CCC756
secondary
#3E4188
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC756

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

Preview Lab → · Contrast checker → · Palette generator →

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