#CCC882#CCC882

#CCC882 is a light, moderate yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.091 H 105.4°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CCC882
RGBrgb(204, 200, 130)
HSLhsl(57, 42%, 65%)
HSVhsv(57, 36%, 80%)
CMYKcmyk(0%, 2%, 36.3%, 20%)
CIE-LABlab(79.48, -9.03, 35.54)
CIE-LCHlch(79.48, 36.67, 104.25°)
OKLaboklab(81.99% -0.0241 0.0874)
OKLCHoklch(81.99% 0.091 105.4)
XYZxyz(49.5860, 55.7587, 29.2652)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC882 #8286CC
analogous
#CCA382 #CCC882 #ABCC82
triadic
#CCC882 #82CCC8 #C882CC
tetradic
#CCC882 #82CCA3 #8286CC #CC82AB
square
#CCC882 #82CCA3 #8286CC #CC82AB
split-complementary
#CCC882 #82ABCC #A382CC
monochromatic
#96913D #BAB557 #CCC882 #DEDBAD #EFEED9

Accessibility & contrast

On white

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

On black

12.15
#CCC882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC882
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC882#FFFFFF#000000##000000
##CCC8821.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C37D
Deuteranopia (green-blind)
#D5C785
Tritanopia (blue-blind)
#D6BFB6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc882;
/* rgb */ color: rgb(204, 200, 130);
/* oklch */ color: oklch(82.0% 0.091 105.4);
Tailwind
colors: {
  custom: {
    50: '#dcd8a7',
    500: '#ccc882',
    950: '#000000',
  },
}
SCSS
$custom: #ccc882;
$custom-light: #dcd8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc882",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 130
  },
  "hsl": {
    "h": 56.757,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81991,
    "c": 0.09067,
    "h": 105.4
  },
  "luminance": 0.55758
}

Semantic roles & 50–950 ramp

primary
#CCC882
secondary
#55599D
accent
#38B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC882

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

Preview Lab → · Contrast checker → · Palette generator →

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