#CCC182#CCC182

#CCC182 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.083 H 99.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CCC182
RGBrgb(204, 193, 130)
HSLhsl(51, 42%, 65%)
HSVhsv(51, 36%, 80%)
CMYKcmyk(0%, 5.4%, 36.3%, 20%)
CIE-LABlab(77.63, -5.41, 33.15)
CIE-LCHlch(77.63, 33.58, 99.27°)
OKLaboklab(80.53% -0.0137 0.0819)
OKLCHoklch(80.53% 0.083 99.5)
XYZxyz(48.0018, 52.5903, 28.7371)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC182 #828DCC
analogous
#CC9C82 #CCC182 #B2CC82
triadic
#CCC182 #82CCC1 #C182CC
tetradic
#CCC182 #82CC9C #828DCC #CC82B2
square
#CCC182 #82CC9C #828DCC #CC82B2
split-complementary
#CCC182 #82B2CC #9C82CC
monochromatic
#96893D #BAAB57 #CCC182 #DED7AD #EFECD9

Accessibility & contrast

On white

1.82
#CCC182 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CCC182 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC182
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC182#FFFFFF#000000##000000
##CCC1821.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7D
Deuteranopia (green-blind)
#D0C284
Tritanopia (blue-blind)
#D7B8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc182;
/* rgb */ color: rgb(204, 193, 130);
/* oklch */ color: oklch(80.5% 0.083 99.5);
Tailwind
colors: {
  custom: {
    50: '#dcd3a7',
    500: '#ccc182',
    950: '#000000',
  },
}
SCSS
$custom: #ccc182;
$custom-light: #dcd3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc182",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 130
  },
  "hsl": {
    "h": 51.081,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.083,
    "h": 99.5
  },
  "luminance": 0.52589
}

Semantic roles & 50–950 ramp

primary
#CCC182
secondary
#55609D
accent
#44B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC182

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

Preview Lab → · Contrast checker → · Palette generator →

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