#CCBB33#CCBB33

#CCBB33 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.3% C 0.149 H 101.9°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CCBB33
RGBrgb(204, 187, 51)
HSLhsl(53, 60%, 50%)
HSVhsv(53, 75%, 80%)
CMYKcmyk(0%, 8.3%, 75%, 20%)
CIE-LABlab(75.21, -8.52, 66.32)
CIE-LCHlch(75.21, 66.87, 97.32°)
OKLaboklab(78.34% -0.0307 0.1455)
OKLCHoklch(78.34% 0.149 101.9)
XYZxyz(43.2717, 48.6190, 10.2364)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB33 #3344CC
analogous
#CC6E33 #CCBB33 #91CC33
triadic
#CCBB33 #33CCBB #BB33CC
tetradic
#CCBB33 #33CC6E #3344CC #CC3391
square
#CCBB33 #33CC6E #3344CC #CC3391
split-complementary
#CCBB33 #3391CC #6E33CC
monochromatic
#6A611B #9B8E27 #CCBB33 #D8CB64 #E4DC95

Accessibility & contrast

On white

1.96
#CCBB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CCBB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB33
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB33#FFFFFF#000000##000000
##CCBB331.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB517
Deuteranopia (green-blind)
#D2BC3D
Tritanopia (blue-blind)
#DCADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccbb33;
/* rgb */ color: rgb(204, 187, 51);
/* oklch */ color: oklch(78.3% 0.149 101.9);
Tailwind
colors: {
  custom: {
    50: '#e0cf75',
    500: '#ccbb33',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb33;
$custom-light: #e0cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb33",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 51
  },
  "hsl": {
    "h": 53.333,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.78342,
    "c": 0.14867,
    "h": 101.9
  },
  "luminance": 0.48617
}

Semantic roles & 50–950 ramp

primary
#CCBB33
secondary
#8B93D0
accent
#56E345
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CCBB33

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

Preview Lab → · Contrast checker → · Palette generator →

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