#CCBB7E#CCBB7E

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

Color values

HEX#CCBB7E
RGBrgb(204, 187, 126)
HSLhsl(47, 43%, 65%)
HSVhsv(47, 38%, 80%)
CMYKcmyk(0%, 8.3%, 38.2%, 20%)
CIE-LABlab(76.00, -2.74, 33.10)
CIE-LCHlch(76.00, 33.21, 94.73°)
OKLaboklab(79.22% -0.0063 0.0816)
OKLCHoklch(79.22% 0.082 94.4)
XYZxyz(46.4390, 49.8859, 26.9173)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB7E #7E8FCC
analogous
#CC947E #CCBB7E #B6CC7E
triadic
#CCBB7E #7ECCBB #BB7ECC
tetradic
#CCBB7E #7ECC94 #7E8FCC #CC7EB6
square
#CCBB7E #7ECC94 #7E8FCC #CC7EB6
split-complementary
#CCBB7E #7EB6CC #947ECC
monochromatic
#95813B #BBA452 #CCBB7E #DDD2AA #EFE9D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB7E#FFFFFF#000000##000000
##CCBB7E1.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)
#C7B87A
Deuteranopia (green-blind)
#CCBE80
Tritanopia (blue-blind)
#D7B2AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb7e;
/* rgb */ color: rgb(204, 187, 126);
/* oklch */ color: oklch(79.2% 0.082 94.4);
Tailwind
colors: {
  custom: {
    50: '#ddcfa4',
    500: '#ccbb7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb7e;
$custom-light: #ddcfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb7e",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 126
  },
  "hsl": {
    "h": 46.923,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.79218,
    "c": 0.08184,
    "h": 94.4
  },
  "luminance": 0.49884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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