#CCB86C#CCB86C

#CCB86C is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.099 H 95.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CCB86C
RGBrgb(204, 184, 108)
HSLhsl(48, 48%, 61%)
HSVhsv(48, 47%, 80%)
CMYKcmyk(0%, 9.8%, 47.1%, 20%)
CIE-LABlab(74.95, -3.06, 41.02)
CIE-LCHlch(74.95, 41.14, 94.27°)
OKLaboklab(78.31% -0.0088 0.0987)
OKLCHoklch(78.31% 0.099 95.1)
XYZxyz(44.7504, 48.2028, 21.1313)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB86C #6C80CC
analogous
#CC886C #CCB86C #B0CC6C
triadic
#CCB86C #6CCCB8 #B86CCC
tetradic
#CCB86C #6CCC88 #6C80CC #CC6CB0
square
#CCB86C #6CCC88 #6C80CC #CC6CB0
split-complementary
#CCB86C #6CB0CC #886CCC
monochromatic
#8D7A31 #BAA141 #CCB86C #DCCE99 #ECE4C7

Accessibility & contrast

On white

1.97
#CCB86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CCB86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB86C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB86C#FFFFFF#000000##000000
##CCB86C1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B566
Deuteranopia (green-blind)
#CBBB6F
Tritanopia (blue-blind)
#D9AEA6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb86c;
/* rgb */ color: rgb(204, 184, 108);
/* oklch */ color: oklch(78.3% 0.099 95.1);
Tailwind
colors: {
  custom: {
    50: '#ddcd97',
    500: '#ccb86c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb86c;
$custom-light: #ddcd97;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb86c",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 108
  },
  "hsl": {
    "h": 47.5,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.78306,
    "c": 0.09906,
    "h": 95.1
  },
  "luminance": 0.48201
}

Semantic roles & 50–950 ramp

primary
#CCB86C
secondary
#B8BFDC
accent
#48BC2A
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB86C

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

Preview Lab → · Contrast checker → · Palette generator →

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