#CCCC39#CCCC39

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

Color values

HEX#CCCC39
RGBrgb(204, 204, 57)
HSLhsl(60, 59%, 51%)
HSVhsv(60, 72%, 80%)
CMYKcmyk(0%, 0%, 72.1%, 20%)
CIE-LABlab(79.80, -16.87, 68.61)
CIE-LCHlch(79.80, 70.65, 103.81°)
OKLaboklab(82% -0.0535 0.1514)
OKLCHoklch(82% 0.161 109.5)
XYZxyz(47.2349, 56.3199, 12.2528)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC39 #3939CC
analogous
#CC8239 #CCCC39 #82CC39
triadic
#CCCC39 #39CCCC #CC39CC
tetradic
#CCCC39 #39CC82 #3939CC #CC3982
square
#CCCC39 #39CC82 #3939CC #CC3982
split-complementary
#CCCC39 #3982CC #8239CC
monochromatic
#6E6E1C #9F9F29 #CCCC39 #D9D96A #E5E59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCC39#FFFFFF#000000##000000
##CCCC391.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)
#DCC31C
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#DABFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc39;
/* rgb */ color: rgb(204, 204, 57);
/* oklch */ color: oklch(82.0% 0.161 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfdb7a',
    500: '#cccc39',
    950: '#000000',
  },
}
SCSS
$custom: #cccc39;
$custom-light: #dfdb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc39",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82003,
    "c": 0.16059,
    "h": 109.5
  },
  "luminance": 0.56319
}

Semantic roles & 50–950 ramp

primary
#CCCC39
secondary
#323278
accent
#46E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCC39

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

Preview Lab → · Contrast checker → · Palette generator →

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