#CCBB4A#CCBB4A

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

Color values

HEX#CCBB4A
RGBrgb(204, 187, 74)
HSLhsl(52, 56%, 55%)
HSVhsv(52, 64%, 80%)
CMYKcmyk(0%, 8.3%, 63.7%, 20%)
CIE-LABlab(75.37, -7.32, 57.57)
CIE-LCHlch(75.37, 58.03, 97.25°)
OKLaboklab(78.52% -0.0248 0.1309)
OKLCHoklch(78.52% 0.133 100.7)
XYZxyz(43.9100, 48.8743, 13.5980)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB4A #4A5BCC
analogous
#CC7A4A #CCBB4A #9CCC4A
triadic
#CCBB4A #4ACCBB #BB4ACC
tetradic
#CCBB4A #4ACC7A #4A5BCC #CC4A9C
square
#CCBB4A #4ACC7A #4A5BCC #CC4A9C
split-complementary
#CCBB4A #4A9CCC #7A4ACC
monochromatic
#796E22 #A99930 #CCBB4A #D9CD7A #E7DFA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB4A#FFFFFF#000000##000000
##CCBB4A1.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)
#CCB63C
Deuteranopia (green-blind)
#D0BD50
Tritanopia (blue-blind)
#DBAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb4a;
/* rgb */ color: rgb(204, 187, 74);
/* oklch */ color: oklch(78.5% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#dfcf82',
    500: '#ccbb4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb4a;
$custom-light: #dfcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb4a",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 52.154,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7852,
    "c": 0.13323,
    "h": 100.7
  },
  "luminance": 0.48872
}

Semantic roles & 50–950 ramp

primary
#CCBB4A
secondary
#9DA5D4
accent
#5CDF48
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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