#CCC466#CCC466

#CCC466 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.117 H 104.3°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CCC466
RGBrgb(204, 196, 102)
HSLhsl(55, 50%, 60%)
HSVhsv(55, 50%, 80%)
CMYKcmyk(0%, 3.9%, 50%, 20%)
CIE-LABlab(78.04, -9.84, 47.74)
CIE-LCHlch(78.04, 48.75, 101.64°)
OKLaboklab(80.73% -0.0289 0.1131)
OKLCHoklch(80.73% 0.117 104.3)
XYZxyz(47.0413, 53.2780, 20.3735)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC466 #666ECC
analogous
#CC9166 #CCC466 #A1CC66
triadic
#CCC466 #66CCC4 #C466CC
tetradic
#CCC466 #66CC91 #666ECC #CC66A1
square
#CCC466 #66CC91 #666ECC #CC66A1
split-complementary
#CCC466 #66A1CC #9166CC
monochromatic
#8A822E #B8AE3D #CCC466 #DBD694 #EBE7C2

Accessibility & contrast

On white

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

On black

11.66
#CCC466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC466
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC466#FFFFFF#000000##000000
##CCC4661.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#D9B9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc466;
/* rgb */ color: rgb(204, 196, 102);
/* oklch */ color: oklch(80.7% 0.117 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd594',
    500: '#ccc466',
    950: '#000000',
  },
}
SCSS
$custom: #ccc466;
$custom-light: #ddd594;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc466",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 102
  },
  "hsl": {
    "h": 55.294,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.80727,
    "c": 0.11669,
    "h": 104.3
  },
  "luminance": 0.53277
}

Semantic roles & 50–950 ramp

primary
#CCC466
secondary
#464B91
accent
#59DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC466

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

Preview Lab → · Contrast checker → · Palette generator →

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