#CCCA39#CCCA39

#CCCA39 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.159 H 108.7°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CCCA39
RGBrgb(204, 202, 57)
HSLhsl(59, 59%, 51%)
HSVhsv(59, 72%, 80%)
CMYKcmyk(0%, 1%, 72.1%, 20%)
CIE-LABlab(79.26, -15.87, 68.09)
CIE-LCHlch(79.26, 69.92, 103.12°)
OKLaboklab(81.57% -0.0508 0.1503)
OKLCHoklch(81.57% 0.159 108.7)
XYZxyz(46.7626, 55.3753, 12.0953)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA39 #393BCC
analogous
#CC8039 #CCCA39 #84CC39
triadic
#CCCA39 #39CCCA #CA39CC
tetradic
#CCCA39 #39CC80 #393BCC #CC3984
square
#CCCA39 #39CC80 #393BCC #CC3984
split-complementary
#CCCA39 #3984CC #8039CC
monochromatic
#6E6D1C #9F9D29 #CCCA39 #D9D76A #E5E49A

Accessibility & contrast

On white

1.74
#CCCA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CCCA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA39
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA39#FFFFFF#000000##000000
##CCCA391.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21D
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#DBBDAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccca39;
/* rgb */ color: rgb(204, 202, 57);
/* oklch */ color: oklch(81.6% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfd97a',
    500: '#ccca39',
    950: '#000000',
  },
}
SCSS
$custom: #ccca39;
$custom-light: #dfd97a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca39",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 59.184,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81573,
    "c": 0.15865,
    "h": 108.7
  },
  "luminance": 0.55374
}

Semantic roles & 50–950 ramp

primary
#CCCA39
secondary
#323378
accent
#48E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCA39

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

Preview Lab → · Contrast checker → · Palette generator →

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