#CCBB7B#CCBB7B

#CCBB7B is a light, moderate yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.085 H 95.0°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#CCBB7B
RGBrgb(204, 187, 123)
HSLhsl(47, 44%, 64%)
HSVhsv(47, 40%, 80%)
CMYKcmyk(0%, 8.3%, 39.7%, 20%)
CIE-LABlab(75.95, -3.08, 34.60)
CIE-LCHlch(75.95, 34.73, 95.08°)
OKLaboklab(79.17% -0.0075 0.0849)
OKLCHoklch(79.17% 0.085 95)
XYZxyz(46.2483, 49.8096, 25.9131)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB7B #7B8CCC
analogous
#CC937B #CCBB7B #B5CC7B
triadic
#CCBB7B #7BCCBB #BB7BCC
tetradic
#CCBB7B #7BCC93 #7B8CCC #CC7BB5
square
#CCBB7B #7BCC93 #7B8CCC #CC7BB5
split-complementary
#CCBB7B #7BB5CC #937BCC
monochromatic
#948139 #BBA44F #CCBB7B #DDD2A7 #EEE8D3

Accessibility & contrast

On white

1.92
#CCBB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#CCBB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB7B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB7B#FFFFFF#000000##000000
##CCBB7B1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B876
Deuteranopia (green-blind)
#CCBE7D
Tritanopia (blue-blind)
#D8B2AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb7b;
/* rgb */ color: rgb(204, 187, 123);
/* oklch */ color: oklch(79.2% 0.085 95.0);
Tailwind
colors: {
  custom: {
    50: '#ddcfa2',
    500: '#ccbb7b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb7b;
$custom-light: #ddcfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb7b",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 123
  },
  "hsl": {
    "h": 47.407,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79166,
    "c": 0.08527,
    "h": 95
  },
  "luminance": 0.49808
}

Semantic roles & 50–950 ramp

primary
#CCBB7B
secondary
#C3C9E0
accent
#4BB72E
background
#FDFCFA
surface
#FBF9F3
border
#D4D2CD
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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