#CCBC3C#CCBC3C

#CCBC3C is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.6% C 0.144 H 102.0°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CCBC3C
RGBrgb(204, 188, 60)
HSLhsl(53, 59%, 52%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 7.8%, 70.6%, 20%)
CIE-LABlab(75.53, -8.62, 63.40)
CIE-LCHlch(75.53, 63.98, 97.75°)
OKLaboklab(78.61% -0.0301 0.1409)
OKLCHoklch(78.61% 0.144 102)
XYZxyz(43.7026, 49.1319, 11.4555)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC3C #3C4CCC
analogous
#CC743C #CCBC3C #94CC3C
triadic
#CCBC3C #3CCCBC #BC3CCC
tetradic
#CCBC3C #3CCC74 #3C4CCC #CC3C94
square
#CCBC3C #3CCC74 #3C4CCC #CC3C94
split-complementary
#CCBC3C #3C94CC #743CCC
monochromatic
#70671D #A1942A #CCBC3C #D9CD6D #E5DD9D

Accessibility & contrast

On white

1.94
#CCBC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CCBC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC3C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC3C#FFFFFF#000000##000000
##CCBC3C1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB628
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#DBAFA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbc3c;
/* rgb */ color: rgb(204, 188, 60);
/* oklch */ color: oklch(78.6% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfcf7a',
    500: '#ccbc3c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc3c;
$custom-light: #dfcf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc3c",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 60
  },
  "hsl": {
    "h": 53.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78614,
    "c": 0.14409,
    "h": 102
  },
  "luminance": 0.4913
}

Semantic roles & 50–950 ramp

primary
#CCBC3C
secondary
#9299D1
accent
#57E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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