#CCB87C#CCB87C

#CCB87C is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.082 H 91.8°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CCB87C
RGBrgb(204, 184, 124)
HSLhsl(45, 44%, 64%)
HSVhsv(45, 39%, 80%)
CMYKcmyk(0%, 9.8%, 39.2%, 20%)
CIE-LABlab(75.19, -1.39, 33.08)
CIE-LCHlch(75.19, 33.11, 92.40°)
OKLaboklab(78.57% -0.0025 0.0815)
OKLCHoklch(78.57% 0.082 91.8)
XYZxyz(45.6814, 48.5752, 26.0345)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB87C #7C90CC
analogous
#CC907C #CCB87C #B8CC7C
triadic
#CCB87C #7CCCB8 #B87CCC
tetradic
#CCB87C #7CCC90 #7C90CC #CC7CB8
square
#CCB87C #7CCC90 #7C90CC #CC7CB8
split-complementary
#CCB87C #7CB8CC #907CCC
monochromatic
#947D3A #BBA050 #CCB87C #DDD0A8 #EEE8D4

Accessibility & contrast

On white

1.96
#CCB87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CCB87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB87C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB87C#FFFFFF#000000##000000
##CCB87C1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B678
Deuteranopia (green-blind)
#CABC7E
Tritanopia (blue-blind)
#D8AFA9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb87c;
/* rgb */ color: rgb(204, 184, 124);
/* oklch */ color: oklch(78.6% 0.082 91.8);
Tailwind
colors: {
  custom: {
    50: '#ddcda2',
    500: '#ccb87c',
    950: '#000000',
  },
}
SCSS
$custom: #ccb87c;
$custom-light: #ddcda2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb87c",
  "rgb": {
    "r": 204,
    "g": 184,
    "b": 124
  },
  "hsl": {
    "h": 45,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.78566,
    "c": 0.08153,
    "h": 91.8
  },
  "luminance": 0.48574
}

Semantic roles & 50–950 ramp

primary
#CCB87C
secondary
#C4CBE0
accent
#51B72E
background
#FDFCFA
surface
#FBF8F3
border
#D4D1CD
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCB87C

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

Preview Lab → · Contrast checker → · Palette generator →

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