#CCBB48#CCBB48

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

Color values

HEX#CCBB48
RGBrgb(204, 187, 72)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 65%, 80%)
CMYKcmyk(0%, 8.3%, 64.7%, 20%)
CIE-LABlab(75.36, -7.45, 58.40)
CIE-LCHlch(75.36, 58.88, 97.27°)
OKLaboklab(78.5% -0.0254 0.1324)
OKLCHoklch(78.5% 0.135 100.9)
XYZxyz(43.8437, 48.8478, 13.2488)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB48 #4859CC
analogous
#CC7948 #CCBB48 #9BCC48
triadic
#CCBB48 #48CCBB #BB48CC
tetradic
#CCBB48 #48CC79 #4859CC #CC489B
square
#CCBB48 #48CC79 #4859CC #CC489B
split-complementary
#CCBB48 #489BCC #7948CC
monochromatic
#786D21 #A8982F #CCBB48 #D9CD78 #E7DFA8

Accessibility & contrast

On white

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

On black

10.77
#CCBB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB48
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB48#FFFFFF#000000##000000
##CCBB481.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63A
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#DBAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb48;
/* rgb */ color: rgb(204, 187, 72);
/* oklch */ color: oklch(78.5% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfcf80',
    500: '#ccbb48',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb48;
$custom-light: #dfcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb48",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 52.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78501,
    "c": 0.13478,
    "h": 100.9
  },
  "luminance": 0.48846
}

Semantic roles & 50–950 ramp

primary
#CCBB48
secondary
#9CA3D4
accent
#5CE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBB48

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

Preview Lab → · Contrast checker → · Palette generator →

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