#CCC876#CCC876

#CCC876 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.104 H 106.0°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CCC876
RGBrgb(204, 200, 118)
HSLhsl(57, 46%, 63%)
HSVhsv(57, 42%, 80%)
CMYKcmyk(0%, 2%, 42.2%, 20%)
CIE-LABlab(79.30, -10.34, 41.41)
CIE-LCHlch(79.30, 42.68, 104.02°)
OKLaboklab(81.8% -0.0288 0.1002)
OKLCHoklch(81.8% 0.104 106)
XYZxyz(48.8270, 55.4551, 25.2678)
Luminance0.5545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC876 #767ACC
analogous
#CC9D76 #CCC876 #A5CC76
triadic
#CCC876 #76CCC8 #C876CC
tetradic
#CCC876 #76CC9D #767ACC #CC76A5
square
#CCC876 #76CC9D #767ACC #CC76A5
split-complementary
#CCC876 #76A5CC #9D76CC
monochromatic
#918D36 #BBB649 #CCC876 #DDDAA3 #EDECCF

Accessibility & contrast

On white

1.74
#CCC876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CCC876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC876
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC876#FFFFFF#000000##000000
##CCC8761.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26F
Deuteranopia (green-blind)
#D7C67A
Tritanopia (blue-blind)
#D7BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc876;
/* rgb */ color: rgb(204, 200, 118);
/* oklch */ color: oklch(81.8% 0.104 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd89f',
    500: '#ccc876',
    950: '#000000',
  },
}
SCSS
$custom: #ccc876;
$custom-light: #ddd89f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc876",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 57.209,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.81797,
    "c": 0.10425,
    "h": 106
  },
  "luminance": 0.55454
}

Semantic roles & 50–950 ramp

primary
#CCC876
secondary
#4E5298
accent
#33B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC876

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

Preview Lab → · Contrast checker → · Palette generator →

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