#CCBC55#CCBC55

#CCBC55 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.8% C 0.125 H 100.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CCBC55
RGBrgb(204, 188, 85)
HSLhsl(52, 54%, 57%)
HSVhsv(52, 58%, 80%)
CMYKcmyk(0%, 7.8%, 58.3%, 20%)
CIE-LABlab(75.74, -7.09, 53.08)
CIE-LCHlch(75.74, 53.55, 97.61°)
OKLaboklab(78.84% -0.0229 0.1228)
OKLCHoklch(78.84% 0.125 100.6)
XYZxyz(44.5264, 49.4615, 15.7942)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC55 #5565CC
analogous
#CC8155 #CCBC55 #A1CC55
triadic
#CCBC55 #55CCBC #BC55CC
tetradic
#CCBC55 #55CC81 #5565CC #CC55A1
square
#CCBC55 #55CC81 #5565CC #CC55A1
split-complementary
#CCBC55 #55A1CC #8155CC
monochromatic
#807426 #AF9F35 #CCBC55 #DACF84 #E8E1B3

Accessibility & contrast

On white

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

On black

10.89
#CCBC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC55
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC55#FFFFFF#000000##000000
##CCBC551.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74A
Deuteranopia (green-blind)
#D0BD5A
Tritanopia (blue-blind)
#DAB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc55;
/* rgb */ color: rgb(204, 188, 85);
/* oklch */ color: oklch(78.8% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#decf88',
    500: '#ccbc55',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc55;
$custom-light: #decf88;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc55",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 85
  },
  "hsl": {
    "h": 51.933,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78841,
    "c": 0.12496,
    "h": 100.6
  },
  "luminance": 0.4946
}

Semantic roles & 50–950 ramp

primary
#CCBC55
secondary
#A6ADD7
accent
#5EDD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCBC55

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

Preview Lab → · Contrast checker → · Palette generator →

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