#CCBC3B#CCBC3B

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

Color values

HEX#CCBC3B
RGBrgb(204, 188, 59)
HSLhsl(53, 59%, 52%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 7.8%, 71.1%, 20%)
CIE-LABlab(75.53, -8.67, 63.77)
CIE-LCHlch(75.53, 64.36, 97.75°)
OKLaboklab(78.61% -0.0303 0.1415)
OKLCHoklch(78.61% 0.145 102.1)
XYZxyz(43.6764, 49.1215, 11.3176)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC3B #3B4BCC
analogous
#CC743B #CCBC3B #94CC3B
triadic
#CCBC3B #3BCCBC #BC3BCC
tetradic
#CCBC3B #3BCC74 #3B4BCC #CC3B94
square
#CCBC3B #3BCC74 #3B4BCC #CC3B94
split-complementary
#CCBC3B #3B94CC #743BCC
monochromatic
#70661D #A0932A #CCBC3B #D9CD6C #E5DD9C

Accessibility & contrast

On white

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

On black

10.82
#CCBC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC3B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC3B#FFFFFF#000000##000000
##CCBC3B1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbc3b;
/* rgb */ color: rgb(204, 188, 59);
/* oklch */ color: oklch(78.6% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#dfcf79',
    500: '#ccbc3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc3b;
$custom-light: #dfcf79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc3b",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 59
  },
  "hsl": {
    "h": 53.379,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78606,
    "c": 0.14473,
    "h": 102.1
  },
  "luminance": 0.4912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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