#CCC276#CCC276

#CCC276 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.098 H 101.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CCC276
RGBrgb(204, 194, 118)
HSLhsl(53, 46%, 63%)
HSVhsv(53, 42%, 80%)
CMYKcmyk(0%, 4.9%, 42.2%, 20%)
CIE-LABlab(77.72, -7.26, 39.42)
CIE-LCHlch(77.72, 40.08, 100.44°)
OKLaboklab(80.54% -0.0199 0.0957)
OKLCHoklch(80.54% 0.098 101.8)
XYZxyz(47.4646, 52.7303, 24.8137)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC276 #7680CC
analogous
#CC9776 #CCC276 #ABCC76
triadic
#CCC276 #76CCC2 #C276CC
tetradic
#CCC276 #76CC97 #7680CC #CC76AB
square
#CCC276 #76CC97 #7680CC #CC76AB
split-complementary
#CCC276 #76ABCC #9776CC
monochromatic
#918736 #BBAE49 #CCC276 #DDD6A3 #EDEACF

Accessibility & contrast

On white

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

On black

11.55
#CCC276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC276
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC276#FFFFFF#000000##000000
##CCC2761.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD70
Deuteranopia (green-blind)
#D2C279
Tritanopia (blue-blind)
#D8B8AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc276;
/* rgb */ color: rgb(204, 194, 118);
/* oklch */ color: oklch(80.5% 0.098 101.8);
Tailwind
colors: {
  custom: {
    50: '#ddd49e',
    500: '#ccc276',
    950: '#000000',
  },
}
SCSS
$custom: #ccc276;
$custom-light: #ddd49e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc276",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 118
  },
  "hsl": {
    "h": 53.023,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.80537,
    "c": 0.09774,
    "h": 101.8
  },
  "luminance": 0.52729
}

Semantic roles & 50–950 ramp

primary
#CCC276
secondary
#4E5798
accent
#3DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC276

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

Preview Lab → · Contrast checker → · Palette generator →

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