#CCC64E#CCC64E

#CCC64E is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.140 H 106.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CCC64E
RGBrgb(204, 198, 78)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 62%, 80%)
CMYKcmyk(0%, 2.9%, 61.8%, 20%)
CIE-LABlab(78.33, -12.70, 59.03)
CIE-LCHlch(78.33, 60.38, 102.14°)
OKLaboklab(80.88% -0.0397 0.1346)
OKLCHoklch(80.88% 0.14 106.4)
XYZxyz(46.4726, 53.7771, 15.1383)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC64E #4E54CC
analogous
#CC874E #CCC64E #93CC4E
triadic
#CCC64E #4ECCC6 #C64ECC
tetradic
#CCC64E #4ECC87 #4E54CC #CC4E93
square
#CCC64E #4ECC87 #4E54CC #CC4E93
split-complementary
#CCC64E #4E93CC #874ECC
monochromatic
#7C7824 #ABA631 #CCC64E #DAD57E #E7E5AD

Accessibility & contrast

On white

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

On black

11.76
#CCC64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC64E
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC64E#FFFFFF#000000##000000
##CCC64E1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF40
Deuteranopia (green-blind)
#D9C455
Tritanopia (blue-blind)
#DABAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc64e;
/* rgb */ color: rgb(204, 198, 78);
/* oklch */ color: oklch(80.9% 0.140 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded785',
    500: '#ccc64e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc64e;
$custom-light: #ded785;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc64e",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 57.143,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80883,
    "c": 0.1403,
    "h": 106.4
  },
  "luminance": 0.53776
}

Semantic roles & 50–950 ramp

primary
#CCC64E
secondary
#3A3E84
accent
#50DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC64E

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

Preview Lab → · Contrast checker → · Palette generator →

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