#CCBB7F#CCBB7F

#CCBB7F is a light, moderate yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.081 H 94.2°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CCBB7F
RGBrgb(204, 187, 127)
HSLhsl(47, 43%, 65%)
HSVhsv(47, 38%, 80%)
CMYKcmyk(0%, 8.3%, 37.7%, 20%)
CIE-LABlab(76.02, -2.63, 32.60)
CIE-LCHlch(76.02, 32.70, 94.60°)
OKLaboklab(79.24% -0.0059 0.0805)
OKLCHoklch(79.24% 0.081 94.2)
XYZxyz(46.5038, 49.9118, 27.2589)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB7F #7F90CC
analogous
#CC947F #CCBB7F #B7CC7F
triadic
#CCBB7F #7FCCBB #BB7FCC
tetradic
#CCBB7F #7FCC94 #7F90CC #CC7FB7
square
#CCBB7F #7FCC94 #7F90CC #CC7FB7
split-complementary
#CCBB7F #7FB7CC #947FCC
monochromatic
#95813B #BBA453 #CCBB7F #DDD2AB #EFE9D7

Accessibility & contrast

On white

1.91
#CCBB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CCBB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB7F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB7F#FFFFFF#000000##000000
##CCBB7F1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B87B
Deuteranopia (green-blind)
#CCBE81
Tritanopia (blue-blind)
#D7B2AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb7f;
/* rgb */ color: rgb(204, 187, 127);
/* oklch */ color: oklch(79.2% 0.081 94.2);
Tailwind
colors: {
  custom: {
    50: '#ddcfa4',
    500: '#ccbb7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb7f;
$custom-light: #ddcfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb7f",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 127
  },
  "hsl": {
    "h": 46.753,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.79236,
    "c": 0.08069,
    "h": 94.2
  },
  "luminance": 0.4991
}

Semantic roles & 50–950 ramp

primary
#CCBB7F
secondary
#C6CCE1
accent
#4DB62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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