#CCBC82#CCBC82

#CCBC82 is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.078 H 94.5°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CCBC82
RGBrgb(204, 188, 130)
HSLhsl(47, 42%, 65%)
HSVhsv(47, 36%, 80%)
CMYKcmyk(0%, 7.8%, 36.3%, 20%)
CIE-LABlab(76.32, -2.80, 31.43)
CIE-LCHlch(76.32, 31.56, 95.09°)
OKLaboklab(79.5% -0.0062 0.0779)
OKLCHoklch(79.5% 0.078 94.5)
XYZxyz(46.9151, 50.4170, 28.3749)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC82 #8292CC
analogous
#CC9782 #CCBC82 #B7CC82
triadic
#CCBC82 #82CCBC #BC82CC
tetradic
#CCBC82 #82CC97 #8292CC #CC82B7
square
#CCBC82 #82CC97 #8292CC #CC82B7
split-complementary
#CCBC82 #82B7CC #9782CC
monochromatic
#96833D #BAA557 #CCBC82 #DED3AD #EFEBD9

Accessibility & contrast

On white

1.89
#CCBC82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#CCBC82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC82
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC82#FFFFFF#000000##000000
##CCBC821.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97E
Deuteranopia (green-blind)
#CCBE84
Tritanopia (blue-blind)
#D7B4AD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbc82;
/* rgb */ color: rgb(204, 188, 130);
/* oklch */ color: oklch(79.5% 0.078 94.5);
Tailwind
colors: {
  custom: {
    50: '#dcd0a7',
    500: '#ccbc82',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc82;
$custom-light: #dcd0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc82",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 130
  },
  "hsl": {
    "h": 47.027,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79496,
    "c": 0.07811,
    "h": 94.5
  },
  "luminance": 0.50416
}

Semantic roles & 50–950 ramp

primary
#CCBC82
secondary
#55659D
accent
#4DB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15130F
muted
#848380

Preview Lab

Preview with #CCBC82

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

Preview Lab → · Contrast checker → · Palette generator →

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