#CCC46C#CCC46C

#CCC46C is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.111 H 104.0°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CCC46C
RGBrgb(204, 196, 108)
HSLhsl(55, 48%, 61%)
HSVhsv(55, 47%, 80%)
CMYKcmyk(0%, 3.9%, 47.1%, 20%)
CIE-LABlab(78.11, -9.29, 44.91)
CIE-LCHlch(78.11, 45.86, 101.68°)
OKLaboklab(80.81% -0.0267 0.1073)
OKLCHoklch(80.81% 0.111 104)
XYZxyz(47.3497, 53.4013, 21.9977)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC46C #6C74CC
analogous
#CC946C #CCC46C #A4CC6C
triadic
#CCC46C #6CCCC4 #C46CCC
tetradic
#CCC46C #6CCC94 #6C74CC #CC6CA4
square
#CCC46C #6CCC94 #6C74CC #CC6CA4
split-complementary
#CCC46C #6CA4CC #946CCC
monochromatic
#8D8531 #BAB041 #CCC46C #DCD699 #ECE8C7

Accessibility & contrast

On white

1.80
#CCC46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CCC46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC46C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC46C#FFFFFF#000000##000000
##CCC46C1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF65
Deuteranopia (green-blind)
#D5C370
Tritanopia (blue-blind)
#D8BAAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc46c;
/* rgb */ color: rgb(204, 196, 108);
/* oklch */ color: oklch(80.8% 0.111 104.0);
Tailwind
colors: {
  custom: {
    50: '#ddd598',
    500: '#ccc46c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc46c;
$custom-light: #ddd598;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc46c",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 108
  },
  "hsl": {
    "h": 55,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80808,
    "c": 0.11058,
    "h": 104
  },
  "luminance": 0.534
}

Semantic roles & 50–950 ramp

primary
#CCC46C
secondary
#494F93
accent
#36BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC46C

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

Preview Lab → · Contrast checker → · Palette generator →

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