#CCC879#CCC879

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

Color values

HEX#CCC879
RGBrgb(204, 200, 121)
HSLhsl(57, 45%, 64%)
HSVhsv(57, 41%, 80%)
CMYKcmyk(0%, 2%, 40.7%, 20%)
CIE-LABlab(79.34, -10.03, 39.96)
CIE-LCHlch(79.34, 41.19, 104.09°)
OKLaboklab(81.84% -0.0277 0.0971)
OKLCHoklch(81.84% 0.101 105.9)
XYZxyz(49.0081, 55.5276, 26.2217)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC879 #797DCC
analogous
#CC9E79 #CCC879 #A6CC79
triadic
#CCC879 #79CCC8 #C879CC
tetradic
#CCC879 #79CC9E #797DCC #CC79A6
square
#CCC879 #79CC9E #797DCC #CC79A6
split-complementary
#CCC879 #79A6CC #9E79CC
monochromatic
#938E38 #BBB64D #CCC879 #DDDAA5 #EEECD2

Accessibility & contrast

On white

1.73
#CCC879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CCC879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC879
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC879#FFFFFF#000000##000000
##CCC8791.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D6C67C
Tritanopia (blue-blind)
#D7BFB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc879;
/* rgb */ color: rgb(204, 200, 121);
/* oklch */ color: oklch(81.8% 0.101 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd8a1',
    500: '#ccc879',
    950: '#000000',
  },
}
SCSS
$custom: #ccc879;
$custom-light: #ddd8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc879",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 121
  },
  "hsl": {
    "h": 57.108,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81843,
    "c": 0.10093,
    "h": 105.9
  },
  "luminance": 0.55526
}

Semantic roles & 50–950 ramp

primary
#CCC879
secondary
#505499
accent
#34B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC879

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

Preview Lab → · Contrast checker → · Palette generator →

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