#CCC082#CCC082

#CCC082 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.082 H 98.6°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CCC082
RGBrgb(204, 192, 130)
HSLhsl(50, 42%, 65%)
HSVhsv(50, 36%, 80%)
CMYKcmyk(0%, 5.9%, 36.3%, 20%)
CIE-LABlab(77.37, -4.89, 32.80)
CIE-LCHlch(77.37, 33.17, 98.48°)
OKLaboklab(80.32% -0.0122 0.0811)
OKLCHoklch(80.32% 0.082 98.6)
XYZxyz(47.7815, 52.1497, 28.6637)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC082 #828ECC
analogous
#CC9B82 #CCC082 #B3CC82
triadic
#CCC082 #82CCC0 #C082CC
tetradic
#CCC082 #82CC9B #828ECC #CC82B3
square
#CCC082 #82CC9B #828ECC #CC82B3
split-complementary
#CCC082 #82B3CC #9B82CC
monochromatic
#96883D #BAAA57 #CCC082 #DED6AD #EFECD9

Accessibility & contrast

On white

1.84
#CCC082 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CCC082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC082
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC082#FFFFFF#000000##000000
##CCC0821.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC7E
Deuteranopia (green-blind)
#CFC184
Tritanopia (blue-blind)
#D7B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc082;
/* rgb */ color: rgb(204, 192, 130);
/* oklch */ color: oklch(80.3% 0.082 98.6);
Tailwind
colors: {
  custom: {
    50: '#dcd2a7',
    500: '#ccc082',
    950: '#000000',
  },
}
SCSS
$custom: #ccc082;
$custom-light: #dcd2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc082",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 130
  },
  "hsl": {
    "h": 50.27,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80323,
    "c": 0.08198,
    "h": 98.6
  },
  "luminance": 0.52148
}

Semantic roles & 50–950 ramp

primary
#CCC082
secondary
#55619D
accent
#46B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC082

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

Preview Lab → · Contrast checker → · Palette generator →

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