#CCC366#CCC366

#CCC366 is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.116 H 103.7°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CCC366
RGBrgb(204, 195, 102)
HSLhsl(55, 50%, 60%)
HSVhsv(55, 50%, 80%)
CMYKcmyk(0%, 4.4%, 50%, 20%)
CIE-LABlab(77.77, -9.32, 47.43)
CIE-LCHlch(77.77, 48.33, 101.12°)
OKLaboklab(80.52% -0.0274 0.1124)
OKLCHoklch(80.52% 0.116 103.7)
XYZxyz(46.8165, 52.8284, 20.2986)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC366 #666FCC
analogous
#CC9066 #CCC366 #A2CC66
triadic
#CCC366 #66CCC3 #C366CC
tetradic
#CCC366 #66CC90 #666FCC #CC66A2
square
#CCC366 #66CC90 #666FCC #CC66A2
split-complementary
#CCC366 #66A2CC #9066CC
monochromatic
#8A822E #B8AD3D #CCC366 #DBD594 #EBE7C2

Accessibility & contrast

On white

1.82
#CCC366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CCC366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC366
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC366#FFFFFF#000000##000000
##CCC3661.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5E
Deuteranopia (green-blind)
#D4C26A
Tritanopia (blue-blind)
#D9B8AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc366;
/* rgb */ color: rgb(204, 195, 102);
/* oklch */ color: oklch(80.5% 0.116 103.7);
Tailwind
colors: {
  custom: {
    50: '#ddd594',
    500: '#ccc366',
    950: '#000000',
  },
}
SCSS
$custom: #ccc366;
$custom-light: #ddd594;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc366",
  "rgb": {
    "r": 204,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 54.706,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.80516,
    "c": 0.11567,
    "h": 103.7
  },
  "luminance": 0.52827
}

Semantic roles & 50–950 ramp

primary
#CCC366
secondary
#464C91
accent
#5BDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC366

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

Preview Lab → · Contrast checker → · Palette generator →

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