#CCCB59#CCCB59

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

Color values

HEX#CCCB59
RGBrgb(204, 203, 89)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 0.5%, 56.4%, 20%)
CIE-LABlab(79.77, -14.45, 55.80)
CIE-LCHlch(79.77, 57.64, 104.52°)
OKLaboklab(82.06% -0.0434 0.1291)
OKLCHoklch(82.06% 0.136 108.6)
XYZxyz(48.0623, 56.2718, 17.7790)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB59 #595ACC
analogous
#CC9159 #CCCB59 #94CC59
triadic
#CCCB59 #59CCCB #CB59CC
tetradic
#CCCB59 #59CC91 #595ACC #CC5994
square
#CCCB59 #59CC91 #595ACC #CC5994
split-complementary
#CCCB59 #5994CC #9159CC
monochromatic
#838228 #B1B036 #CCCB59 #DADA88 #E9E8B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCB59#FFFFFF#000000##000000
##CCCB591.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)
#DAC34D
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb59;
/* rgb */ color: rgb(204, 203, 89);
/* oklch */ color: oklch(82.1% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#deda8c',
    500: '#cccb59',
    950: '#000000',
  },
}
SCSS
$custom: #cccb59;
$custom-light: #deda8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb59",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 59.478,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82059,
    "c": 0.13625,
    "h": 108.6
  },
  "luminance": 0.56271
}

Semantic roles & 50–950 ramp

primary
#CCCB59
secondary
#3F408A
accent
#4DDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCB59

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

Preview Lab → · Contrast checker → · Palette generator →

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