#CCBC4A#CCBC4A

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

Color values

HEX#CCBC4A
RGBrgb(204, 188, 74)
HSLhsl(53, 56%, 55%)
HSVhsv(53, 64%, 80%)
CMYKcmyk(0%, 7.8%, 63.7%, 20%)
CIE-LABlab(75.64, -7.84, 57.85)
CIE-LCHlch(75.64, 58.38, 97.72°)
OKLaboklab(78.73% -0.0263 0.1315)
OKLCHoklch(78.73% 0.134 101.3)
XYZxyz(44.1229, 49.3000, 13.6689)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC4A #4A5ACC
analogous
#CC7B4A #CCBC4A #9BCC4A
triadic
#CCBC4A #4ACCBC #BC4ACC
tetradic
#CCBC4A #4ACC7B #4A5ACC #CC4A9B
square
#CCBC4A #4ACC7B #4A5ACC #CC4A9B
split-complementary
#CCBC4A #4A9BCC #7B4ACC
monochromatic
#796F22 #A99A30 #CCBC4A #D9CE7A #E7DFA9

Accessibility & contrast

On white

1.93
#CCBC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CCBC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC4A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC4A#FFFFFF#000000##000000
##CCBC4A1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbc4a;
/* rgb */ color: rgb(204, 188, 74);
/* oklch */ color: oklch(78.7% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#dfcf82',
    500: '#ccbc4a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc4a;
$custom-light: #dfcf82;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc4a",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 74
  },
  "hsl": {
    "h": 52.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7873,
    "c": 0.13409,
    "h": 101.3
  },
  "luminance": 0.49298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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