#CCCC54#CCCC54

#CCCC54 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.142 H 109.1°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CCCC54
RGBrgb(204, 204, 84)
HSLhsl(60, 54%, 56%)
HSVhsv(60, 59%, 80%)
CMYKcmyk(0%, 0%, 58.8%, 20%)
CIE-LABlab(79.99, -15.31, 58.25)
CIE-LCHlch(79.99, 60.23, 104.73°)
OKLaboklab(82.22% -0.0464 0.1337)
OKLCHoklch(82.22% 0.142 109.1)
XYZxyz(48.0963, 56.6645, 16.7895)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC54 #5454CC
analogous
#CC9054 #CCCC54 #90CC54
triadic
#CCCC54 #54CCCC #CC54CC
tetradic
#CCCC54 #54CC90 #5454CC #CC5490
square
#CCCC54 #54CC90 #5454CC #CC5490
split-complementary
#CCCC54 #5490CC #9054CC
monochromatic
#808026 #AFAF34 #CCCC54 #DADA83 #E8E8B2

Accessibility & contrast

On white

1.70
#CCCC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CCCC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC54
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC54#FFFFFF#000000##000000
##CCCC541.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC446
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#D9C0B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccc54;
/* rgb */ color: rgb(204, 204, 84);
/* oklch */ color: oklch(82.2% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedb89',
    500: '#cccc54',
    950: '#000000',
  },
}
SCSS
$custom: #cccc54;
$custom-light: #dedb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc54",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82221,
    "c": 0.14156,
    "h": 109.1
  },
  "luminance": 0.56663
}

Semantic roles & 50–950 ramp

primary
#CCCC54
secondary
#3D3D87
accent
#4ADD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCC54

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

Preview Lab → · Contrast checker → · Palette generator →

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