#CCC54C#CCC54C

#CCC54C is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.141 H 106.0°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CCC54C
RGBrgb(204, 197, 76)
HSLhsl(57, 56%, 55%)
HSVhsv(57, 63%, 80%)
CMYKcmyk(0%, 3.4%, 62.7%, 20%)
CIE-LABlab(78.05, -12.32, 59.57)
CIE-LCHlch(78.05, 60.83, 101.68°)
OKLaboklab(80.65% -0.0388 0.1354)
OKLCHoklch(80.65% 0.141 106)
XYZxyz(46.1742, 53.2932, 14.6904)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC54C #4C53CC
analogous
#CC854C #CCC54C #93CC4C
triadic
#CCC54C #4CCCC5 #C54CCC
tetradic
#CCC54C #4CCC85 #4C53CC #CC4C93
square
#CCC54C #4CCC85 #4C53CC #CC4C93
split-complementary
#CCC54C #4C93CC #854CCC
monochromatic
#7B7623 #AAA431 #CCC54C #DAD47C #E7E4AB

Accessibility & contrast

On white

1.80
#CCC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CCC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC54C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC54C#FFFFFF#000000##000000
##CCC54C1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3D
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#DAB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc54c;
/* rgb */ color: rgb(204, 197, 76);
/* oklch */ color: oklch(80.7% 0.141 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd683',
    500: '#ccc54c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc54c;
$custom-light: #dfd683;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc54c",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 56.719,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80651,
    "c": 0.14088,
    "h": 106
  },
  "luminance": 0.53292
}

Semantic roles & 50–950 ramp

primary
#CCC54C
secondary
#393D83
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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