#CCBC8A#CCBC8A

#CCBC8A is a light, moderate yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.069 H 92.4°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CCBC8A
RGBrgb(204, 188, 138)
HSLhsl(45, 39%, 67%)
HSVhsv(45, 32%, 80%)
CMYKcmyk(0%, 7.8%, 32.4%, 20%)
CIE-LABlab(76.46, -1.83, 27.40)
CIE-LCHlch(76.46, 27.46, 93.81°)
OKLaboklab(79.65% -0.0029 0.0686)
OKLCHoklch(79.65% 0.069 92.4)
XYZxyz(47.4731, 50.6401, 31.3136)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC8A #8A9ACC
analogous
#CC9B8A #CCBC8A #BBCC8A
triadic
#CCBC8A #8ACCBC #BC8ACC
tetradic
#CCBC8A #8ACC9B #8A9ACC #CC8ABB
square
#CCBC8A #8ACC9B #8A9ACC #CC8ABB
split-complementary
#CCBC8A #8ABBCC #9B8ACC
monochromatic
#998443 #B9A45F #CCBC8A #DFD4B5 #F1EDDF

Accessibility & contrast

On white

1.89
#CCBC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#CCBC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC8A
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC8A#FFFFFF#000000##000000
##CCBC8A1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7BA87
Deuteranopia (green-blind)
#CBBF8C
Tritanopia (blue-blind)
#D6B4AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbc8a;
/* rgb */ color: rgb(204, 188, 138);
/* oklch */ color: oklch(79.6% 0.069 92.4);
Tailwind
colors: {
  custom: {
    50: '#dcd0ac',
    500: '#ccbc8a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc8a;
$custom-light: #dcd0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc8a",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 138
  },
  "hsl": {
    "h": 45.455,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.79648,
    "c": 0.06867,
    "h": 92.4
  },
  "luminance": 0.50639
}

Semantic roles & 50–950 ramp

primary
#CCBC8A
secondary
#5B6BA0
accent
#52B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151310
muted
#848381

Preview Lab

Preview with #CCBC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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