#CCCC59#CCCC59

#CCCC59 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.137 H 109.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CCCC59
RGBrgb(204, 204, 89)
HSLhsl(60, 53%, 57%)
HSVhsv(60, 56%, 80%)
CMYKcmyk(0%, 0%, 56.4%, 20%)
CIE-LABlab(80.04, -14.95, 56.10)
CIE-LCHlch(80.04, 58.06, 104.92°)
OKLaboklab(82.27% -0.0449 0.1298)
OKLCHoklch(82.27% 0.137 109.1)
XYZxyz(48.2992, 56.7456, 17.8580)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC59 #5959CC
analogous
#CC9359 #CCCC59 #93CC59
triadic
#CCCC59 #59CCCC #CC59CC
tetradic
#CCCC59 #59CC93 #5959CC #CC5993
square
#CCCC59 #59CC93 #5959CC #CC5993
split-complementary
#CCCC59 #5993CC #9359CC
monochromatic
#838328 #B1B136 #CCCC59 #DADA88 #E9E9B7

Accessibility & contrast

On white

1.70
#CCCC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CCCC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC59
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC59#FFFFFF#000000##000000
##CCCC591.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccc59;
/* rgb */ color: rgb(204, 204, 89);
/* oklch */ color: oklch(82.3% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedb8c',
    500: '#cccc59',
    950: '#000000',
  },
}
SCSS
$custom: #cccc59;
$custom-light: #dedb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc59",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82273,
    "c": 0.13732,
    "h": 109.1
  },
  "luminance": 0.56744
}

Semantic roles & 50–950 ramp

primary
#CCCC59
secondary
#3F3F8A
accent
#4BDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCC59

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

Preview Lab → · Contrast checker → · Palette generator →

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