#CCBC56#CCBC56

#CCBC56 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.124 H 100.5°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#CCBC56
RGBrgb(204, 188, 86)
HSLhsl(52, 54%, 57%)
HSVhsv(52, 58%, 80%)
CMYKcmyk(0%, 7.8%, 57.8%, 20%)
CIE-LABlab(75.75, -7.02, 52.63)
CIE-LCHlch(75.75, 53.10, 97.60°)
OKLaboklab(78.85% -0.0226 0.122)
OKLCHoklch(78.85% 0.124 100.5)
XYZxyz(44.5664, 49.4775, 16.0049)
Luminance0.4948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC56 #5666CC
analogous
#CC8156 #CCBC56 #A1CC56
triadic
#CCBC56 #56CCBC #BC56CC
tetradic
#CCBC56 #56CC81 #5666CC #CC56A1
square
#CCBC56 #56CC81 #5666CC #CC56A1
split-complementary
#CCBC56 #56A1CC #8156CC
monochromatic
#817527 #B09F35 #CCBC56 #DACF85 #E8E1B4

Accessibility & contrast

On white

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

On black

10.90
#CCBC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC56
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC56#FFFFFF#000000##000000
##CCBC561.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74C
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#DAB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc56;
/* rgb */ color: rgb(204, 188, 86);
/* oklch */ color: oklch(78.9% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#decf89',
    500: '#ccbc56',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc56;
$custom-light: #decf89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc56",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 86
  },
  "hsl": {
    "h": 51.864,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78852,
    "c": 0.12407,
    "h": 100.5
  },
  "luminance": 0.49476
}

Semantic roles & 50–950 ramp

primary
#CCBC56
secondary
#A7ADD7
accent
#5FDD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCBC56

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

Preview Lab → · Contrast checker → · Palette generator →

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