#CCBA83#CCBA83

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

Color values

HEX#CCBA83
RGBrgb(204, 186, 131)
HSLhsl(45, 42%, 66%)
HSVhsv(45, 36%, 80%)
CMYKcmyk(0%, 8.8%, 35.8%, 20%)
CIE-LABlab(75.82, -1.63, 30.24)
CIE-LCHlch(75.82, 30.29, 93.09°)
OKLaboklab(79.1% -0.0027 0.0751)
OKLCHoklch(79.1% 0.075 92.1)
XYZxyz(46.5583, 49.5954, 28.5887)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBA83 #8395CC
analogous
#CC9583 #CCBA83 #B9CC83
triadic
#CCBA83 #83CCBA #BA83CC
tetradic
#CCBA83 #83CC95 #8395CC #CC83B9
square
#CCBA83 #83CC95 #8395CC #CC83B9
split-complementary
#CCBA83 #83B9CC #9583CC
monochromatic
#97813E #BAA258 #CCBA83 #DED2AE #F0EADA

Accessibility & contrast

On white

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

On black

10.92
#CCBA83 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBA83
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBA83#FFFFFF#000000##000000
##CCBA831.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccba83;
/* rgb */ color: rgb(204, 186, 131);
/* oklch */ color: oklch(79.1% 0.075 92.1);
Tailwind
colors: {
  custom: {
    50: '#dccea7',
    500: '#ccba83',
    950: '#000000',
  },
}
SCSS
$custom: #ccba83;
$custom-light: #dccea7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccba83",
  "rgb": {
    "r": 204,
    "g": 186,
    "b": 131
  },
  "hsl": {
    "h": 45.205,
    "s": 41.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.79104,
    "c": 0.07517,
    "h": 92.1
  },
  "luminance": 0.49594
}

Semantic roles & 50–950 ramp

primary
#CCBA83
secondary
#C9CFE2
accent
#51B531
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBA83

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

Preview Lab → · Contrast checker → · Palette generator →

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