#CCBB45#CCBB45

#CCBB45 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.137 H 101.0°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CCBB45
RGBrgb(204, 187, 69)
HSLhsl(52, 57%, 54%)
HSVhsv(52, 66%, 80%)
CMYKcmyk(0%, 8.3%, 66.2%, 20%)
CIE-LABlab(75.33, -7.63, 59.63)
CIE-LCHlch(75.33, 60.12, 97.29°)
OKLaboklab(78.47% -0.0262 0.1345)
OKLCHoklch(78.47% 0.137 101)
XYZxyz(43.7482, 48.8096, 12.7459)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB45 #4556CC
analogous
#CC7745 #CCBB45 #9ACC45
triadic
#CCBB45 #45CCBB #BB45CC
tetradic
#CCBB45 #45CC77 #4556CC #CC459A
square
#CCBB45 #45CC77 #4556CC #CC459A
split-complementary
#CCBB45 #459ACC #7745CC
monochromatic
#766B20 #A6972E #CCBB45 #D9CD75 #E6DEA5

Accessibility & contrast

On white

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

On black

10.76
#CCBB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB45
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB45#FFFFFF#000000##000000
##CCBB451.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB636
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#DBAEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccbb45;
/* rgb */ color: rgb(204, 187, 69);
/* oklch */ color: oklch(78.5% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#dfcf7f',
    500: '#ccbb45',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb45;
$custom-light: #dfcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb45",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 52.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78475,
    "c": 0.13703,
    "h": 101
  },
  "luminance": 0.48808
}

Semantic roles & 50–950 ramp

primary
#CCBB45
secondary
#99A1D3
accent
#5BE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBB45

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

Preview Lab → · Contrast checker → · Palette generator →

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