#CCBC4C#CCBC4C

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

Color values

HEX#CCBC4C
RGBrgb(204, 188, 76)
HSLhsl(53, 56%, 55%)
HSVhsv(53, 63%, 80%)
CMYKcmyk(0%, 7.8%, 62.7%, 20%)
CIE-LABlab(75.65, -7.71, 57.01)
CIE-LCHlch(75.65, 57.53, 97.71°)
OKLaboklab(78.75% -0.0257 0.13)
OKLCHoklch(78.75% 0.133 101.2)
XYZxyz(44.1913, 49.3274, 14.0295)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC4C #4C5CCC
analogous
#CC7C4C #CCBC4C #9CCC4C
triadic
#CCBC4C #4CCCBC #BC4CCC
tetradic
#CCBC4C #4CCC7C #4C5CCC #CC4C9C
square
#CCBC4C #4CCC7C #4C5CCC #CC4C9C
split-complementary
#CCBC4C #4C9CCC #7C4CCC
monochromatic
#7B7023 #AA9B31 #CCBC4C #DACE7C #E7E0AB

Accessibility & contrast

On white

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

On black

10.87
#CCBC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC4C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC4C#FFFFFF#000000##000000
##CCBC4C1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbc4c;
/* rgb */ color: rgb(204, 188, 76);
/* oklch */ color: oklch(78.7% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#dfcf83',
    500: '#ccbc4c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc4c;
$custom-light: #dfcf83;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc4c",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 76
  },
  "hsl": {
    "h": 52.5,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78749,
    "c": 0.13252,
    "h": 101.2
  },
  "luminance": 0.49326
}

Semantic roles & 50–950 ramp

primary
#CCBC4C
secondary
#9FA6D5
accent
#5CDF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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