#CCCB57#CCCB57

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

Color values

HEX#CCCB57
RGBrgb(204, 203, 87)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 0.5%, 57.4%, 20%)
CIE-LABlab(79.75, -14.60, 56.67)
CIE-LCHlch(79.75, 58.52, 104.44°)
OKLaboklab(82.04% -0.0441 0.1308)
OKLCHoklch(82.04% 0.138 108.6)
XYZxyz(47.9795, 56.2387, 17.3427)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB57 #5758CC
analogous
#CC9157 #CCCB57 #93CC57
triadic
#CCCB57 #57CCCB #CB57CC
tetradic
#CCCB57 #57CC91 #5758CC #CC5793
square
#CCCB57 #57CC91 #5758CC #CC5793
split-complementary
#CCCB57 #5793CC #9157CC
monochromatic
#818127 #B0AF36 #CCCB57 #DADA86 #E9E8B5

Accessibility & contrast

On white

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

On black

12.25
#CCCB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB57
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB57#FFFFFF#000000##000000
##CCCB571.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccb57;
/* rgb */ color: rgb(204, 203, 87);
/* oklch */ color: oklch(82.0% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#deda8b',
    500: '#cccb57',
    950: '#000000',
  },
}
SCSS
$custom: #cccb57;
$custom-light: #deda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb57",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 59.487,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82038,
    "c": 0.13798,
    "h": 108.6
  },
  "luminance": 0.56237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCB57

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

Preview Lab → · Contrast checker → · Palette generator →

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