#CCC64A#CCC64A

#CCC64A is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.143 H 106.5°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CCC64A
RGBrgb(204, 198, 74)
HSLhsl(57, 56%, 55%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 2.9%, 63.7%, 20%)
CIE-LABlab(78.30, -12.95, 60.67)
CIE-LCHlch(78.30, 62.04, 102.05°)
OKLaboklab(80.85% -0.0408 0.1375)
OKLCHoklch(80.85% 0.143 106.5)
XYZxyz(46.3336, 53.7215, 14.4059)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC64A #4A50CC
analogous
#CC854A #CCC64A #91CC4A
triadic
#CCC64A #4ACCC6 #C64ACC
tetradic
#CCC64A #4ACC85 #4A50CC #CC4A91
square
#CCC64A #4ACC85 #4A50CC #CC4A91
split-complementary
#CCC64A #4A91CC #854ACC
monochromatic
#797522 #A9A430 #CCC64A #D9D57A #E7E4A9

Accessibility & contrast

On white

1.79
#CCC64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CCC64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC64A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC64A#FFFFFF#000000##000000
##CCC64A1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#DABAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc64a;
/* rgb */ color: rgb(204, 198, 74);
/* oklch */ color: oklch(80.8% 0.143 106.5);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#ccc64a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc64a;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc64a",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 57.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80846,
    "c": 0.14339,
    "h": 106.5
  },
  "luminance": 0.5372
}

Semantic roles & 50–950 ramp

primary
#CCC64A
secondary
#393C82
accent
#4FDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC64A

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

Preview Lab → · Contrast checker → · Palette generator →

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