#CCCB56#CCCB56

#CCCB56 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.139 H 108.7°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CCCB56
RGBrgb(204, 203, 86)
HSLhsl(59, 54%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 0.5%, 57.8%, 20%)
CIE-LABlab(79.74, -14.67, 57.10)
CIE-LCHlch(79.74, 58.96, 104.41°)
OKLaboklab(82.03% -0.0444 0.1316)
OKLCHoklch(82.03% 0.139 108.7)
XYZxyz(47.9389, 56.2224, 17.1290)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB56 #5657CC
analogous
#CC9056 #CCCB56 #92CC56
triadic
#CCCB56 #56CCCB #CB56CC
tetradic
#CCCB56 #56CC90 #5657CC #CC5692
square
#CCCB56 #56CC90 #5657CC #CC5692
split-complementary
#CCCB56 #5692CC #9056CC
monochromatic
#818027 #B0AF35 #CCCB56 #DAD985 #E8E8B4

Accessibility & contrast

On white

1.72
#CCCB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CCCB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB56
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB56#FFFFFF#000000##000000
##CCCB561.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC349
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb56;
/* rgb */ color: rgb(204, 203, 86);
/* oklch */ color: oklch(82.0% 0.139 108.7);
Tailwind
colors: {
  custom: {
    50: '#deda8a',
    500: '#cccb56',
    950: '#000000',
  },
}
SCSS
$custom: #cccb56;
$custom-light: #deda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb56",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 59.492,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82028,
    "c": 0.13884,
    "h": 108.7
  },
  "luminance": 0.56221
}

Semantic roles & 50–950 ramp

primary
#CCCB56
secondary
#3E3F88
accent
#4CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCB56

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

Preview Lab → · Contrast checker → · Palette generator →

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