#CCC76C#CCC76C

#CCC76C is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.114 H 105.9°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CCC76C
RGBrgb(204, 199, 108)
HSLhsl(57, 48%, 61%)
HSVhsv(57, 47%, 80%)
CMYKcmyk(0%, 2.5%, 47.1%, 20%)
CIE-LABlab(78.91, -10.82, 45.87)
CIE-LCHlch(78.91, 47.13, 103.27°)
OKLaboklab(81.44% -0.0311 0.1095)
OKLCHoklch(81.44% 0.114 105.9)
XYZxyz(48.0331, 54.7682, 22.2255)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC76C #6C71CC
analogous
#CC976C #CCC76C #A1CC6C
triadic
#CCC76C #6CCCC7 #C76CCC
tetradic
#CCC76C #6CCC97 #6C71CC #CC6CA1
square
#CCC76C #6CCC97 #6C71CC #CC6CA1
split-complementary
#CCC76C #6CA1CC #976CCC
monochromatic
#8D8831 #BAB441 #CCC76C #DCD899 #ECEAC7

Accessibility & contrast

On white

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

On black

11.95
#CCC76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC76C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC76C#FFFFFF#000000##000000
##CCC76C1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C164
Deuteranopia (green-blind)
#D7C570
Tritanopia (blue-blind)
#D8BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc76c;
/* rgb */ color: rgb(204, 199, 108);
/* oklch */ color: oklch(81.4% 0.114 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd798',
    500: '#ccc76c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc76c;
$custom-light: #ddd798;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc76c",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 108
  },
  "hsl": {
    "h": 56.875,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81441,
    "c": 0.11379,
    "h": 105.9
  },
  "luminance": 0.54767
}

Semantic roles & 50–950 ramp

primary
#CCC76C
secondary
#494D93
accent
#31BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC76C

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

Preview Lab → · Contrast checker → · Palette generator →

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