#CCCB5C#CCCB5C

#CCCB5C is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.134 H 108.5°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CCCB5C
RGBrgb(204, 203, 92)
HSLhsl(59, 52%, 58%)
HSVhsv(59, 55%, 80%)
CMYKcmyk(0%, 0.5%, 54.9%, 20%)
CIE-LABlab(79.80, -14.22, 54.48)
CIE-LCHlch(79.80, 56.31, 104.63°)
OKLaboklab(82.09% -0.0425 0.1267)
OKLCHoklch(82.09% 0.134 108.5)
XYZxyz(48.1909, 56.3232, 18.4561)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB5C #5C5DCC
analogous
#CC935C #CCCB5C #95CC5C
triadic
#CCCB5C #5CCCCB #CB5CCC
tetradic
#CCCB5C #5CCC93 #5C5DCC #CC5C95
square
#CCCB5C #5CCC93 #5C5DCC #CC5C95
split-complementary
#CCCB5C #5C95CC #935CCC
monochromatic
#848329 #B3B238 #CCCB5C #DBDA8B #E9E9B9

Accessibility & contrast

On white

1.71
#CCCB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CCCB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB5C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB5C#FFFFFF#000000##000000
##CCCB5C1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC451
Deuteranopia (green-blind)
#DBC862
Tritanopia (blue-blind)
#D9C0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb5c;
/* rgb */ color: rgb(204, 203, 92);
/* oklch */ color: oklch(82.1% 0.134 108.5);
Tailwind
colors: {
  custom: {
    50: '#deda8e',
    500: '#cccb5c',
    950: '#000000',
  },
}
SCSS
$custom: #cccb5c;
$custom-light: #deda8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb5c",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 92
  },
  "hsl": {
    "h": 59.464,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82092,
    "c": 0.13359,
    "h": 108.5
  },
  "luminance": 0.56322
}

Semantic roles & 50–950 ramp

primary
#CCCB5C
secondary
#41418C
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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