#CCBB49#CCBB49

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

Color values

HEX#CCBB49
RGBrgb(204, 187, 73)
HSLhsl(52, 56%, 54%)
HSVhsv(52, 64%, 80%)
CMYKcmyk(0%, 8.3%, 64.2%, 20%)
CIE-LABlab(75.36, -7.39, 57.99)
CIE-LCHlch(75.36, 58.46, 97.26°)
OKLaboklab(78.51% -0.0251 0.1316)
OKLCHoklch(78.51% 0.134 100.8)
XYZxyz(43.8766, 48.8609, 13.4220)
Luminance0.4886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB49 #495ACC
analogous
#CC7A49 #CCBB49 #9BCC49
triadic
#CCBB49 #49CCBB #BB49CC
tetradic
#CCBB49 #49CC7A #495ACC #CC499B
square
#CCBB49 #49CC7A #495ACC #CC499B
split-complementary
#CCBB49 #499BCC #7A49CC
monochromatic
#796D22 #A9992F #CCBB49 #D9CD79 #E7DFA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB49#FFFFFF#000000##000000
##CCBB491.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)
#CCB63B
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#DBAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb49;
/* rgb */ color: rgb(204, 187, 73);
/* oklch */ color: oklch(78.5% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#dfcf81',
    500: '#ccbb49',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb49;
$custom-light: #dfcf81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb49",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 73
  },
  "hsl": {
    "h": 52.214,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78511,
    "c": 0.13401,
    "h": 100.8
  },
  "luminance": 0.48859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBB49

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

Preview Lab → · Contrast checker → · Palette generator →

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