#CCBB78#CCBB78

#CCBB78 is a light, moderate yellow. Relative luminance 0.497; OKLCH L 79.1% C 0.089 H 95.6°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#CCBB78
RGBrgb(204, 187, 120)
HSLhsl(48, 45%, 64%)
HSVhsv(48, 41%, 80%)
CMYKcmyk(0%, 8.3%, 41.2%, 20%)
CIE-LABlab(75.91, -3.41, 36.09)
CIE-LCHlch(75.91, 36.25, 95.39°)
OKLaboklab(79.12% -0.0086 0.0882)
OKLCHoklch(79.12% 0.089 95.6)
XYZxyz(46.0634, 49.7356, 24.9392)
Luminance0.4973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB78 #7889CC
analogous
#CC9178 #CCBB78 #B3CC78
triadic
#CCBB78 #78CCBB #BB78CC
tetradic
#CCBB78 #78CC91 #7889CC #CC78B3
square
#CCBB78 #78CC91 #7889CC #CC78B3
split-complementary
#CCBB78 #78B3CC #9178CC
monochromatic
#928037 #BBA54C #CCBB78 #DDD1A4 #EEE8D1

Accessibility & contrast

On white

1.92
#CCBB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#CCBB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB78
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB78#FFFFFF#000000##000000
##CCBB781.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B873
Deuteranopia (green-blind)
#CCBE7A
Tritanopia (blue-blind)
#D8B2AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb78;
/* rgb */ color: rgb(204, 187, 120);
/* oklch */ color: oklch(79.1% 0.089 95.6);
Tailwind
colors: {
  custom: {
    50: '#ddcfa0',
    500: '#ccbb78',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb78;
$custom-light: #ddcfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb78",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 120
  },
  "hsl": {
    "h": 47.857,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.79115,
    "c": 0.08865,
    "h": 95.6
  },
  "luminance": 0.49734
}

Semantic roles & 50–950 ramp

primary
#CCBB78
secondary
#C1C7DF
accent
#49B82D
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CCBB78

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

Preview Lab → · Contrast checker → · Palette generator →

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