#CCBC7A#CCBC7A

#CCBC7A is a light, moderate yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.087 H 96.2°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CCBC7A
RGBrgb(204, 188, 122)
HSLhsl(48, 45%, 64%)
HSVhsv(48, 40%, 80%)
CMYKcmyk(0%, 7.8%, 40.2%, 20%)
CIE-LABlab(76.20, -3.71, 35.43)
CIE-LCHlch(76.20, 35.63, 95.98°)
OKLaboklab(79.36% -0.0094 0.0868)
OKLCHoklch(79.36% 0.087 96.2)
XYZxyz(46.3989, 50.2105, 25.6561)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC7A #7A8ACC
analogous
#CC937A #CCBC7A #B3CC7A
triadic
#CCBC7A #7ACCBC #BC7ACC
tetradic
#CCBC7A #7ACC93 #7A8ACC #CC7AB3
square
#CCBC7A #7ACC93 #7A8ACC #CC7AB3
split-complementary
#CCBC7A #7AB3CC #937ACC
monochromatic
#938138 #BBA64E #CCBC7A #DDD2A6 #EEE9D2

Accessibility & contrast

On white

1.90
#CCBC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CCBC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC7A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC7A#FFFFFF#000000##000000
##CCBC7A1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B975
Deuteranopia (green-blind)
#CDBE7C
Tritanopia (blue-blind)
#D8B3AB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbc7a;
/* rgb */ color: rgb(204, 188, 122);
/* oklch */ color: oklch(79.4% 0.087 96.2);
Tailwind
colors: {
  custom: {
    50: '#ddd0a1',
    500: '#ccbc7a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc7a;
$custom-light: #ddd0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc7a",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 122
  },
  "hsl": {
    "h": 48.293,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.79355,
    "c": 0.08731,
    "h": 96.2
  },
  "luminance": 0.50209
}

Semantic roles & 50–950 ramp

primary
#CCBC7A
secondary
#515F9A
accent
#49B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #CCBC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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