#CCB86A#CCB86A

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

Color values

HEX#CCB86A
RGBrgb(204, 184, 106)
HSLhsl(48, 49%, 61%)
HSVhsv(48, 48%, 80%)
CMYKcmyk(0%, 9.8%, 48%, 20%)
CIE-LABlab(74.93, -3.25, 42.00)
CIE-LCHlch(74.93, 42.12, 94.43°)
OKLaboklab(78.28% -0.0095 0.1007)
OKLCHoklch(78.28% 0.101 95.4)
XYZxyz(44.6452, 48.1607, 20.5771)
Luminance0.4816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB86A #6A7ECC
analogous
#CC876A #CCB86A #AFCC6A
triadic
#CCB86A #6ACCB8 #B86ACC
tetradic
#CCB86A #6ACC87 #6A7ECC #CC6AAF
square
#CCB86A #6ACC87 #6A7ECC #CC6AAF
split-complementary
#CCB86A #6AAFCC #876ACC
monochromatic
#8C7930 #B9A03F #CCB86A #DCCE98 #EBE3C5

Accessibility & contrast

On white

1.98
#CCB86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CCB86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB86A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB86A#FFFFFF#000000##000000
##CCB86A1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B564
Deuteranopia (green-blind)
#CCBB6D
Tritanopia (blue-blind)
#D9ADA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb86a;
/* rgb */ color: rgb(204, 184, 106);
/* oklch */ color: oklch(78.3% 0.101 95.4);
Tailwind
colors: {
  custom: {
    50: '#ddcd96',
    500: '#ccb86a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb86a;
$custom-light: #ddcd96;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb86a",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 106
  },
  "hsl": {
    "h": 47.755,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.78276,
    "c": 0.10116,
    "h": 95.4
  },
  "luminance": 0.48159
}

Semantic roles & 50–950 ramp

primary
#CCB86A
secondary
#B6BEDB
accent
#47BC29
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB86A

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

Preview Lab → · Contrast checker → · Palette generator →

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