#CCC66A#CCC66A

#CCC66A is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.115 H 105.4°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CCC66A
RGBrgb(204, 198, 106)
HSLhsl(56, 49%, 61%)
HSVhsv(56, 48%, 80%)
CMYKcmyk(0%, 2.9%, 48%, 20%)
CIE-LABlab(78.62, -10.50, 46.50)
CIE-LCHlch(78.62, 47.67, 102.72°)
OKLaboklab(81.2% -0.0304 0.1107)
OKLCHoklch(81.2% 0.115 105.4)
XYZxyz(47.6986, 54.2675, 21.5949)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC66A #6A70CC
analogous
#CC956A #CCC66A #A1CC6A
triadic
#CCC66A #6ACCC6 #C66ACC
tetradic
#CCC66A #6ACC95 #6A70CC #CC6AA1
square
#CCC66A #6ACC95 #6A70CC #CC6AA1
split-complementary
#CCC66A #6AA1CC #956ACC
monochromatic
#8C8630 #B9B23F #CCC66A #DCD798 #EBE9C5

Accessibility & contrast

On white

1.77
#CCC66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CCC66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC66A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC66A#FFFFFF#000000##000000
##CCC66A1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C062
Deuteranopia (green-blind)
#D6C56E
Tritanopia (blue-blind)
#D8BBB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc66a;
/* rgb */ color: rgb(204, 198, 106);
/* oklch */ color: oklch(81.2% 0.115 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd797',
    500: '#ccc66a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc66a;
$custom-light: #ddd797;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc66a",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 56.327,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81202,
    "c": 0.11476,
    "h": 105.4
  },
  "luminance": 0.54266
}

Semantic roles & 50–950 ramp

primary
#CCC66A
secondary
#484C93
accent
#32BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC66A

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

Preview Lab → · Contrast checker → · Palette generator →

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