#CCBB47#CCBB47

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

Color values

HEX#CCBB47
RGBrgb(204, 187, 71)
HSLhsl(52, 57%, 54%)
HSVhsv(52, 65%, 80%)
CMYKcmyk(0%, 8.3%, 65.2%, 20%)
CIE-LABlab(75.35, -7.51, 58.82)
CIE-LCHlch(75.35, 59.30, 97.27°)
OKLaboklab(78.49% -0.0257 0.1331)
OKLCHoklch(78.49% 0.136 100.9)
XYZxyz(43.8113, 48.8348, 13.0783)
Luminance0.4883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB47 #4758CC
analogous
#CC7947 #CCBB47 #9BCC47
triadic
#CCBB47 #47CCBB #BB47CC
tetradic
#CCBB47 #47CC79 #4758CC #CC479B
square
#CCBB47 #47CC79 #4758CC #CC479B
split-complementary
#CCBB47 #479BCC #7947CC
monochromatic
#776C21 #A7982E #CCBB47 #D9CD77 #E7DEA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB47#FFFFFF#000000##000000
##CCBB471.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)
#CCB638
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#DBAEA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb47;
/* rgb */ color: rgb(204, 187, 71);
/* oklch */ color: oklch(78.5% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#dfcf80',
    500: '#ccbb47',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb47;
$custom-light: #dfcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb47",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 71
  },
  "hsl": {
    "h": 52.331,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78492,
    "c": 0.13554,
    "h": 100.9
  },
  "luminance": 0.48833
}

Semantic roles & 50–950 ramp

primary
#CCBB47
secondary
#9BA2D4
accent
#5BE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBB47

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

Preview Lab → · Contrast checker → · Palette generator →

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