#CCB86D#CCB86D

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

Color values

HEX#CCB86D
RGBrgb(204, 184, 109)
HSLhsl(47, 48%, 61%)
HSVhsv(47, 47%, 80%)
CMYKcmyk(0%, 9.8%, 46.6%, 20%)
CIE-LABlab(74.97, -2.96, 40.53)
CIE-LCHlch(74.97, 40.64, 94.18°)
OKLaboklab(78.32% -0.0084 0.0977)
OKLCHoklch(78.32% 0.098 94.9)
XYZxyz(44.8040, 48.2242, 21.4132)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB86D #6D81CC
analogous
#CC896D #CCB86D #B1CC6D
triadic
#CCB86D #6DCCB8 #B86DCC
tetradic
#CCB86D #6DCC89 #6D81CC #CC6DB1
square
#CCB86D #6DCC89 #6D81CC #CC6DB1
split-complementary
#CCB86D #6DB1CC #896DCC
monochromatic
#8D7A31 #BBA141 #CCB86D #DCCE9A #ECE4C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB86D#FFFFFF#000000##000000
##CCB86D1.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)
#C6B567
Deuteranopia (green-blind)
#CBBB70
Tritanopia (blue-blind)
#D9AEA6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb86d;
/* rgb */ color: rgb(204, 184, 109);
/* oklch */ color: oklch(78.3% 0.098 94.9);
Tailwind
colors: {
  custom: {
    50: '#ddcd98',
    500: '#ccb86d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb86d;
$custom-light: #ddcd98;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb86d",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 109
  },
  "hsl": {
    "h": 47.368,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.78321,
    "c": 0.09801,
    "h": 94.9
  },
  "luminance": 0.48222
}

Semantic roles & 50–950 ramp

primary
#CCB86D
secondary
#B9C0DC
accent
#49BC2A
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB86D

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

Preview Lab → · Contrast checker → · Palette generator →

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