#CCCB54#CCCB54

#CCCB54 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.141 H 108.7°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CCCB54
RGBrgb(204, 203, 84)
HSLhsl(60, 54%, 56%)
HSVhsv(60, 59%, 80%)
CMYKcmyk(0%, 0.5%, 58.8%, 20%)
CIE-LABlab(79.72, -14.81, 57.96)
CIE-LCHlch(79.72, 59.82, 104.34°)
OKLaboklab(82.01% -0.045 0.1331)
OKLCHoklch(82.01% 0.141 108.7)
XYZxyz(47.8594, 56.1907, 16.7106)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB54 #5455CC
analogous
#CC8F54 #CCCB54 #91CC54
triadic
#CCCB54 #54CCCB #CB54CC
tetradic
#CCCB54 #54CC8F #5455CC #CC5491
square
#CCCB54 #54CC8F #5455CC #CC5491
split-complementary
#CCCB54 #5491CC #8F54CC
monochromatic
#807F26 #AFAE34 #CCCB54 #DAD983 #E8E8B2

Accessibility & contrast

On white

1.72
#CCCB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CCCB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB54
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB54#FFFFFF#000000##000000
##CCCB541.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#D9BFB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb54;
/* rgb */ color: rgb(204, 203, 84);
/* oklch */ color: oklch(82.0% 0.141 108.7);
Tailwind
colors: {
  custom: {
    50: '#deda89',
    500: '#cccb54',
    950: '#000000',
  },
}
SCSS
$custom: #cccb54;
$custom-light: #deda89;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb54",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 59.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82007,
    "c": 0.14051,
    "h": 108.7
  },
  "luminance": 0.56189
}

Semantic roles & 50–950 ramp

primary
#CCCB54
secondary
#3D3E87
accent
#4CDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCB54

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

Preview Lab → · Contrast checker → · Palette generator →

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