#CCBB7A#CCBB7A

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

Color values

HEX#CCBB7A
RGBrgb(204, 187, 122)
HSLhsl(48, 45%, 64%)
HSVhsv(48, 40%, 80%)
CMYKcmyk(0%, 8.3%, 40.2%, 20%)
CIE-LABlab(75.94, -3.19, 35.10)
CIE-LCHlch(75.94, 35.24, 95.19°)
OKLaboklab(79.15% -0.0079 0.086)
OKLCHoklch(79.15% 0.086 95.2)
XYZxyz(46.1860, 49.7847, 25.5851)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB7A #7A8BCC
analogous
#CC927A #CCBB7A #B4CC7A
triadic
#CCBB7A #7ACCBB #BB7ACC
tetradic
#CCBB7A #7ACC92 #7A8BCC #CC7AB4
square
#CCBB7A #7ACC92 #7A8BCC #CC7AB4
split-complementary
#CCBB7A #7AB4CC #927ACC
monochromatic
#938038 #BBA44E #CCBB7A #DDD2A6 #EEE8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB7A#FFFFFF#000000##000000
##CCBB7A1.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)
#C8B875
Deuteranopia (green-blind)
#CCBE7C
Tritanopia (blue-blind)
#D8B2AB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb7a;
/* rgb */ color: rgb(204, 187, 122);
/* oklch */ color: oklch(79.1% 0.086 95.2);
Tailwind
colors: {
  custom: {
    50: '#ddcfa1',
    500: '#ccbb7a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb7a;
$custom-light: #ddcfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb7a",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 122
  },
  "hsl": {
    "h": 47.561,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.79149,
    "c": 0.0864,
    "h": 95.2
  },
  "luminance": 0.49783
}

Semantic roles & 50–950 ramp

primary
#CCBB7A
secondary
#C3C8DF
accent
#4AB82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CCBB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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