#CCC84C#CCC84C

#CCC84C is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.144 H 107.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CCC84C
RGBrgb(204, 200, 76)
HSLhsl(58, 56%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2%, 62.7%, 20%)
CIE-LABlab(78.85, -13.84, 60.43)
CIE-LCHlch(78.85, 61.99, 102.90°)
OKLaboklab(81.29% -0.0431 0.1372)
OKLCHoklch(81.29% 0.144 107.4)
XYZxyz(46.8622, 54.6692, 14.9198)
Luminance0.5467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC84C #4C50CC
analogous
#CC884C #CCC84C #90CC4C
triadic
#CCC84C #4CCCC8 #C84CCC
tetradic
#CCC84C #4CCC88 #4C50CC #CC4C90
square
#CCC84C #4CCC88 #4C50CC #CC4C90
split-complementary
#CCC84C #4C90CC #884CCC
monochromatic
#7B7823 #AAA631 #CCC84C #DAD77C #E7E5AB

Accessibility & contrast

On white

1.76
#CCC84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#CCC84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC84C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC84C#FFFFFF#000000##000000
##CCC84C1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13C
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#DABCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc84c;
/* rgb */ color: rgb(204, 200, 76);
/* oklch */ color: oklch(81.3% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#dfd884',
    500: '#ccc84c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc84c;
$custom-light: #dfd884;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc84c",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 76
  },
  "hsl": {
    "h": 58.125,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81291,
    "c": 0.14384,
    "h": 107.4
  },
  "luminance": 0.54668
}

Semantic roles & 50–950 ramp

primary
#CCC84C
secondary
#393C83
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC84C

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

Preview Lab → · Contrast checker → · Palette generator →

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