#CCBB56#CCBB56

#CCBB56 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.6% C 0.123 H 99.9°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CCBB56
RGBrgb(204, 187, 86)
HSLhsl(51, 54%, 57%)
HSVhsv(51, 58%, 80%)
CMYKcmyk(0%, 8.3%, 57.8%, 20%)
CIE-LABlab(75.48, -6.50, 52.34)
CIE-LCHlch(75.48, 52.74, 97.08°)
OKLaboklab(78.64% -0.0211 0.1214)
OKLCHoklch(78.64% 0.123 99.9)
XYZxyz(44.3535, 49.0517, 15.9339)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB56 #5667CC
analogous
#CC8056 #CCBB56 #A2CC56
triadic
#CCBB56 #56CCBB #BB56CC
tetradic
#CCBB56 #56CC80 #5667CC #CC56A2
square
#CCBB56 #56CC80 #5667CC #CC56A2
split-complementary
#CCBB56 #56A2CC #8056CC
monochromatic
#817427 #B09E35 #CCBB56 #DACE85 #E8E1B4

Accessibility & contrast

On white

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

On black

10.81
#CCBB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB56
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB56#FFFFFF#000000##000000
##CCBB561.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64C
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#DAAFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb56;
/* rgb */ color: rgb(204, 187, 86);
/* oklch */ color: oklch(78.6% 0.123 99.9);
Tailwind
colors: {
  custom: {
    50: '#decf89',
    500: '#ccbb56',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb56;
$custom-light: #decf89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb56",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 51.356,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78643,
    "c": 0.12318,
    "h": 99.9
  },
  "luminance": 0.4905
}

Semantic roles & 50–950 ramp

primary
#CCBB56
secondary
#A7AED7
accent
#60DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCBB56

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

Preview Lab → · Contrast checker → · Palette generator →

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