#CCC76A#CCC76A

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

Color values

HEX#CCC76A
RGBrgb(204, 199, 106)
HSLhsl(57, 49%, 61%)
HSVhsv(57, 48%, 80%)
CMYKcmyk(0%, 2.5%, 48%, 20%)
CIE-LABlab(78.88, -11.01, 46.82)
CIE-LCHlch(78.88, 48.10, 103.23°)
OKLaboklab(81.41% -0.0318 0.1114)
OKLCHoklch(81.41% 0.116 106)
XYZxyz(47.9279, 54.7261, 21.6714)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC76A #6A6FCC
analogous
#CC966A #CCC76A #A0CC6A
triadic
#CCC76A #6ACCC7 #C76ACC
tetradic
#CCC76A #6ACC96 #6A6FCC #CC6AA0
square
#CCC76A #6ACC96 #6A6FCC #CC6AA0
split-complementary
#CCC76A #6AA0CC #966ACC
monochromatic
#8C8730 #B9B33F #CCC76A #DCD898 #EBE9C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC76A#FFFFFF#000000##000000
##CCC76A1.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)
#D5C162
Deuteranopia (green-blind)
#D7C56E
Tritanopia (blue-blind)
#D8BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc76a;
/* rgb */ color: rgb(204, 199, 106);
/* oklch */ color: oklch(81.4% 0.116 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd797',
    500: '#ccc76a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc76a;
$custom-light: #ddd797;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc76a",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 106
  },
  "hsl": {
    "h": 56.939,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81413,
    "c": 0.11584,
    "h": 106
  },
  "luminance": 0.54725
}

Semantic roles & 50–950 ramp

primary
#CCC76A
secondary
#484B93
accent
#31BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC76A

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

Preview Lab → · Contrast checker → · Palette generator →

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