#CCBB7D#CCBB7D

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

Color values

HEX#CCBB7D
RGBrgb(204, 187, 125)
HSLhsl(47, 44%, 65%)
HSVhsv(47, 39%, 80%)
CMYKcmyk(0%, 8.3%, 38.7%, 20%)
CIE-LABlab(75.98, -2.85, 33.60)
CIE-LCHlch(75.98, 33.72, 94.85°)
OKLaboklab(79.2% -0.0067 0.0827)
OKLCHoklch(79.2% 0.083 94.6)
XYZxyz(46.3748, 49.8602, 26.5792)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB7D #7D8ECC
analogous
#CC947D #CCBB7D #B5CC7D
triadic
#CCBB7D #7DCCBB #BB7DCC
tetradic
#CCBB7D #7DCC94 #7D8ECC #CC7DB5
square
#CCBB7D #7DCC94 #7D8ECC #CC7DB5
split-complementary
#CCBB7D #7DB5CC #947DCC
monochromatic
#94813A #BBA451 #CCBB7D #DDD2A9 #EEE9D5

Accessibility & contrast

On white

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

On black

10.97
#CCBB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB7D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB7D#FFFFFF#000000##000000
##CCBB7D1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbb7d;
/* rgb */ color: rgb(204, 187, 125);
/* oklch */ color: oklch(79.2% 0.083 94.6);
Tailwind
colors: {
  custom: {
    50: '#ddcfa3',
    500: '#ccbb7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb7d;
$custom-light: #ddcfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb7d",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 125
  },
  "hsl": {
    "h": 47.089,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.79201,
    "c": 0.08299,
    "h": 94.6
  },
  "luminance": 0.49859
}

Semantic roles & 50–950 ramp

primary
#CCBB7D
secondary
#C5CBE0
accent
#4CB72F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCBB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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