#CCBA82#CCBA82

#CCBA82 is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.1% C 0.076 H 92.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CCBA82
RGBrgb(204, 186, 130)
HSLhsl(45, 42%, 65%)
HSVhsv(45, 36%, 80%)
CMYKcmyk(0%, 8.8%, 36.3%, 20%)
CIE-LABlab(75.80, -1.75, 30.75)
CIE-LCHlch(75.80, 30.80, 93.26°)
OKLaboklab(79.09% -0.0031 0.0763)
OKLCHoklch(79.09% 0.076 92.4)
XYZxyz(46.4908, 49.5684, 28.2335)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA82 #8294CC
analogous
#CC9582 #CCBA82 #B9CC82
triadic
#CCBA82 #82CCBA #BA82CC
tetradic
#CCBA82 #82CC95 #8294CC #CC82B9
square
#CCBA82 #82CC95 #8294CC #CC82B9
split-complementary
#CCBA82 #82B9CC #9582CC
monochromatic
#96813D #BAA257 #CCBA82 #DED2AD #EFEAD9

Accessibility & contrast

On white

1.92
#CCBA82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CCBA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA82
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA82#FFFFFF#000000##000000
##CCBA821.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B87E
Deuteranopia (green-blind)
#CABD84
Tritanopia (blue-blind)
#D7B2AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccba82;
/* rgb */ color: rgb(204, 186, 130);
/* oklch */ color: oklch(79.1% 0.076 92.4);
Tailwind
colors: {
  custom: {
    50: '#dccea7',
    500: '#ccba82',
    950: '#000000',
  },
}
SCSS
$custom: #ccba82;
$custom-light: #dccea7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba82",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 130
  },
  "hsl": {
    "h": 45.405,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79085,
    "c": 0.07633,
    "h": 92.4
  },
  "luminance": 0.49567
}

Semantic roles & 50–950 ramp

primary
#CCBA82
secondary
#C9CFE1
accent
#51B530
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBA82

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

Preview Lab → · Contrast checker → · Palette generator →

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