#CCC676#CCC676

#CCC676 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.102 H 104.7°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CCC676
RGBrgb(204, 198, 118)
HSLhsl(56, 46%, 63%)
HSVhsv(56, 42%, 80%)
CMYKcmyk(0%, 2.9%, 42.2%, 20%)
CIE-LABlab(78.77, -9.32, 40.75)
CIE-LCHlch(78.77, 41.80, 102.88°)
OKLaboklab(81.38% -0.0259 0.0987)
OKLCHoklch(81.38% 0.102 104.7)
XYZxyz(48.3669, 54.5348, 25.1145)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC676 #767CCC
analogous
#CC9B76 #CCC676 #A7CC76
triadic
#CCC676 #76CCC6 #C676CC
tetradic
#CCC676 #76CC9B #767CCC #CC76A7
square
#CCC676 #76CC9B #767CCC #CC76A7
split-complementary
#CCC676 #76A7CC #9B76CC
monochromatic
#918B36 #BBB349 #CCC676 #DDD9A3 #EDEBCF

Accessibility & contrast

On white

1.76
#CCC676 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CCC676 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC676
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC676#FFFFFF#000000##000000
##CCC6761.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C170
Deuteranopia (green-blind)
#D5C579
Tritanopia (blue-blind)
#D7BCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc676;
/* rgb */ color: rgb(204, 198, 118);
/* oklch */ color: oklch(81.4% 0.102 104.7);
Tailwind
colors: {
  custom: {
    50: '#ddd79f',
    500: '#ccc676',
    950: '#000000',
  },
}
SCSS
$custom: #ccc676;
$custom-light: #ddd79f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc676",
  "rgb": {
    "r": 204,
    "g": 198,
    "b": 118
  },
  "hsl": {
    "h": 55.814,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81376,
    "c": 0.10203,
    "h": 104.7
  },
  "luminance": 0.54534
}

Semantic roles & 50–950 ramp

primary
#CCC676
secondary
#4E5398
accent
#36B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC676

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

Preview Lab → · Contrast checker → · Palette generator →

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