#CCBC47#CCBC47

#CCBC47 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.7% C 0.136 H 101.5°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CCBC47
RGBrgb(204, 188, 71)
HSLhsl(53, 57%, 54%)
HSVhsv(53, 65%, 80%)
CMYKcmyk(0%, 7.8%, 65.2%, 20%)
CIE-LABlab(75.61, -8.02, 59.10)
CIE-LCHlch(75.61, 59.64, 97.73°)
OKLaboklab(78.7% -0.0272 0.1337)
OKLCHoklch(78.7% 0.136 101.5)
XYZxyz(44.0242, 49.2606, 13.1493)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC47 #4757CC
analogous
#CC7A47 #CCBC47 #9ACC47
triadic
#CCBC47 #47CCBC #BC47CC
tetradic
#CCBC47 #47CC7A #4757CC #CC479A
square
#CCBC47 #47CC7A #4757CC #CC479A
split-complementary
#CCBC47 #479ACC #7A47CC
monochromatic
#776D21 #A7992E #CCBC47 #D9CD77 #E7DFA7

Accessibility & contrast

On white

1.94
#CCBC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CCBC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC47
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC47#FFFFFF#000000##000000
##CCBC471.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#DBAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbc47;
/* rgb */ color: rgb(204, 188, 71);
/* oklch */ color: oklch(78.7% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#dfcf80',
    500: '#ccbc47',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc47;
$custom-light: #dfcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc47",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 71
  },
  "hsl": {
    "h": 52.782,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78703,
    "c": 0.1364,
    "h": 101.5
  },
  "luminance": 0.49259
}

Semantic roles & 50–950 ramp

primary
#CCBC47
secondary
#9BA2D4
accent
#5AE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBC47

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

Preview Lab → · Contrast checker → · Palette generator →

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