#CCBB4B#CCBB4B

#CCBB4B is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.5% C 0.132 H 100.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CCBB4B
RGBrgb(204, 187, 75)
HSLhsl(52, 56%, 55%)
HSVhsv(52, 63%, 80%)
CMYKcmyk(0%, 8.3%, 63.2%, 20%)
CIE-LABlab(75.38, -7.26, 57.15)
CIE-LCHlch(75.38, 57.61, 97.24°)
OKLaboklab(78.53% -0.0245 0.1301)
OKLCHoklch(78.53% 0.132 100.7)
XYZxyz(43.9439, 48.8879, 13.7768)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB4B #4B5CCC
analogous
#CC7B4B #CCBB4B #9DCC4B
triadic
#CCBB4B #4BCCBB #BB4BCC
tetradic
#CCBB4B #4BCC7B #4B5CCC #CC4B9D
square
#CCBB4B #4BCC7B #4B5CCC #CC4B9D
split-complementary
#CCBB4B #4B9DCC #7B4BCC
monochromatic
#7A6F23 #AA9A30 #CCBB4B #DACD7B #E7DFAA

Accessibility & contrast

On white

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

On black

10.78
#CCBB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB4B
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB4B#FFFFFF#000000##000000
##CCBB4B1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbb4b;
/* rgb */ color: rgb(204, 187, 75);
/* oklch */ color: oklch(78.5% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#dfcf82',
    500: '#ccbb4b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb4b;
$custom-light: #dfcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb4b",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 75
  },
  "hsl": {
    "h": 52.093,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78529,
    "c": 0.13244,
    "h": 100.7
  },
  "luminance": 0.48886
}

Semantic roles & 50–950 ramp

primary
#CCBB4B
secondary
#9EA5D5
accent
#5CDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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