#CCBB81#CCBB81

#CCBB81 is a light, moderate yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.078 H 93.7°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#CCBB81
RGBrgb(204, 187, 129)
HSLhsl(46, 42%, 65%)
HSVhsv(46, 37%, 80%)
CMYKcmyk(0%, 8.3%, 36.8%, 20%)
CIE-LABlab(76.05, -2.39, 31.59)
CIE-LCHlch(76.05, 31.68, 94.33°)
OKLaboklab(79.27% -0.005 0.0782)
OKLCHoklch(79.27% 0.078 93.7)
XYZxyz(46.6355, 49.9645, 27.9521)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB81 #8192CC
analogous
#CC9581 #CCBB81 #B7CC81
triadic
#CCBB81 #81CCBB #BB81CC
tetradic
#CCBB81 #81CC95 #8192CC #CC81B7
square
#CCBB81 #81CC95 #8192CC #CC81B7
split-complementary
#CCBB81 #81B7CC #9581CC
monochromatic
#96823D #BAA355 #CCBB81 #DED3AD #EFEAD8

Accessibility & contrast

On white

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

On black

10.99
#CCBB81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB81
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB81#FFFFFF#000000##000000
##CCBB811.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbb81;
/* rgb */ color: rgb(204, 187, 129);
/* oklch */ color: oklch(79.3% 0.078 93.7);
Tailwind
colors: {
  custom: {
    50: '#dccfa6',
    500: '#ccbb81',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb81;
$custom-light: #dccfa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb81",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 129
  },
  "hsl": {
    "h": 46.4,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.79272,
    "c": 0.07837,
    "h": 93.7
  },
  "luminance": 0.49963
}

Semantic roles & 50–950 ramp

primary
#CCBB81
secondary
#C8CDE1
accent
#4EB530
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBB81

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

Preview Lab → · Contrast checker → · Palette generator →

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