#CCCB39#CCCB39

#CCCB39 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.160 H 109.1°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CCCB39
RGBrgb(204, 203, 57)
HSLhsl(60, 59%, 51%)
HSVhsv(60, 72%, 80%)
CMYKcmyk(0%, 0.5%, 72.1%, 20%)
CIE-LABlab(79.53, -16.37, 68.35)
CIE-LCHlch(79.53, 70.28, 103.47°)
OKLaboklab(81.79% -0.0521 0.1509)
OKLCHoklch(81.79% 0.16 109.1)
XYZxyz(46.9980, 55.8461, 12.1738)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB39 #393ACC
analogous
#CC8139 #CCCB39 #83CC39
triadic
#CCCB39 #39CCCB #CB39CC
tetradic
#CCCB39 #39CC81 #393ACC #CC3983
square
#CCCB39 #39CC81 #393ACC #CC3983
split-complementary
#CCCB39 #3983CC #8139CC
monochromatic
#6E6E1C #9F9E29 #CCCB39 #D9D86A #E5E59A

Accessibility & contrast

On white

1.73
#CCCB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CCCB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB39
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB39#FFFFFF#000000##000000
##CCCB391.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31D
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#DBBEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb39;
/* rgb */ color: rgb(204, 203, 57);
/* oklch */ color: oklch(81.8% 0.160 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfda7a',
    500: '#cccb39',
    950: '#000000',
  },
}
SCSS
$custom: #cccb39;
$custom-light: #dfda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb39",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 59.592,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81788,
    "c": 0.15962,
    "h": 109.1
  },
  "luminance": 0.55845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCB39

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

Preview Lab → · Contrast checker → · Palette generator →

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