#CCC54A#CCC54A

#CCC54A is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.142 H 106.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CCC54A
RGBrgb(204, 197, 74)
HSLhsl(57, 56%, 55%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 3.4%, 63.7%, 20%)
CIE-LABlab(78.03, -12.44, 60.39)
CIE-LCHlch(78.03, 61.66, 101.64°)
OKLaboklab(80.63% -0.0394 0.1369)
OKLCHoklch(80.63% 0.142 106.1)
XYZxyz(46.1058, 53.2658, 14.3299)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC54A #4A51CC
analogous
#CC844A #CCC54A #92CC4A
triadic
#CCC54A #4ACCC5 #C54ACC
tetradic
#CCC54A #4ACC84 #4A51CC #CC4A92
square
#CCC54A #4ACC84 #4A51CC #CC4A92
split-complementary
#CCC54A #4A92CC #844ACC
monochromatic
#797522 #A9A330 #CCC54A #D9D47A #E7E4A9

Accessibility & contrast

On white

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

On black

11.65
#CCC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC54A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC54A#FFFFFF#000000##000000
##CCC54A1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3A
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#DAB9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc54a;
/* rgb */ color: rgb(204, 197, 74);
/* oklch */ color: oklch(80.6% 0.142 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd682',
    500: '#ccc54a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc54a;
$custom-light: #dfd682;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc54a",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 56.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80633,
    "c": 0.14242,
    "h": 106.1
  },
  "luminance": 0.53264
}

Semantic roles & 50–950 ramp

primary
#CCC54A
secondary
#393D82
accent
#51DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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