#CCC66B#CCC66B

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

Color values

HEX#CCC66B
RGBrgb(204, 198, 107)
HSLhsl(56, 49%, 61%)
HSVhsv(56, 48%, 80%)
CMYKcmyk(0%, 2.9%, 47.5%, 20%)
CIE-LABlab(78.63, -10.40, 46.03)
CIE-LCHlch(78.63, 47.19, 102.74°)
OKLaboklab(81.22% -0.03 0.1097)
OKLCHoklch(81.22% 0.114 105.3)
XYZxyz(47.7509, 54.2884, 21.8704)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC66B #6B71CC
analogous
#CC956B #CCC66B #A1CC6B
triadic
#CCC66B #6BCCC6 #C66BCC
tetradic
#CCC66B #6BCC95 #6B71CC #CC6BA1
square
#CCC66B #6BCC95 #6B71CC #CC6BA1
split-complementary
#CCC66B #6BA1CC #956BCC
monochromatic
#8C8730 #BAB240 #CCC66B #DCD899 #EBE9C6

Accessibility & contrast

On white

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

On black

11.86
#CCC66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC66B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC66B#FFFFFF#000000##000000
##CCC66B1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C063
Deuteranopia (green-blind)
#D6C56F
Tritanopia (blue-blind)
#D8BCB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc66b;
/* rgb */ color: rgb(204, 198, 107);
/* oklch */ color: oklch(81.2% 0.114 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd797',
    500: '#ccc66b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc66b;
$custom-light: #ddd797;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc66b",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 107
  },
  "hsl": {
    "h": 56.289,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.11374,
    "h": 105.3
  },
  "luminance": 0.54287
}

Semantic roles & 50–950 ramp

primary
#CCC66B
secondary
#484D93
accent
#33BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC66B

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

Preview Lab → · Contrast checker → · Palette generator →

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