#CCBB41#CCBB41

#CCBB41 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.4% C 0.140 H 101.3°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CCBB41
RGBrgb(204, 187, 65)
HSLhsl(53, 58%, 53%)
HSVhsv(53, 68%, 80%)
CMYKcmyk(0%, 8.3%, 68.1%, 20%)
CIE-LABlab(75.30, -7.85, 61.23)
CIE-LCHlch(75.30, 61.73, 97.31°)
OKLaboklab(78.44% -0.0273 0.1372)
OKLCHoklch(78.44% 0.14 101.3)
XYZxyz(43.6282, 48.7616, 12.1138)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB41 #4152CC
analogous
#CC7641 #CCBB41 #97CC41
triadic
#CCBB41 #41CCBB #BB41CC
tetradic
#CCBB41 #41CC76 #4152CC #CC4197
square
#CCBB41 #41CC76 #4152CC #CC4197
split-complementary
#CCBB41 #4197CC #7641CC
monochromatic
#74691F #A4952C #CCBB41 #D9CC71 #E6DEA1

Accessibility & contrast

On white

1.95
#CCBB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CCBB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB41
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB41#FFFFFF#000000##000000
##CCBB411.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB630
Deuteranopia (green-blind)
#D1BC48
Tritanopia (blue-blind)
#DBAEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccbb41;
/* rgb */ color: rgb(204, 187, 65);
/* oklch */ color: oklch(78.4% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#dfcf7c',
    500: '#ccbb41',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb41;
$custom-light: #dfcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb41",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 65
  },
  "hsl": {
    "h": 52.662,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78442,
    "c": 0.1399,
    "h": 101.3
  },
  "luminance": 0.4876
}

Semantic roles & 50–950 ramp

primary
#CCBB41
secondary
#969ED3
accent
#5AE147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBB41

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

Preview Lab → · Contrast checker → · Palette generator →

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