#CCBB72#CCBB72

#CCBB72 is a light, moderate yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.095 H 96.6°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CCBB72
RGBrgb(204, 187, 114)
HSLhsl(49, 47%, 62%)
HSVhsv(49, 44%, 80%)
CMYKcmyk(0%, 8.3%, 44.1%, 20%)
CIE-LABlab(75.82, -4.04, 39.06)
CIE-LCHlch(75.82, 39.27, 95.90°)
OKLaboklab(79.02% -0.011 0.0947)
OKLCHoklch(79.02% 0.095 96.6)
XYZxyz(45.7106, 49.5945, 23.0812)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB72 #7283CC
analogous
#CC8E72 #CCBB72 #B0CC72
triadic
#CCBB72 #72CCBB #BB72CC
tetradic
#CCBB72 #72CC8E #7283CC #CC72B0
square
#CCBB72 #72CC8E #7283CC #CC72B0
split-complementary
#CCBB72 #72B0CC #8E72CC
monochromatic
#907E34 #BCA545 #CCBB72 #DCD19F #EDE6CC

Accessibility & contrast

On white

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

On black

10.92
#CCBB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB72
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB72#FFFFFF#000000##000000
##CCBB721.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B86C
Deuteranopia (green-blind)
#CDBD75
Tritanopia (blue-blind)
#D8B1A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb72;
/* rgb */ color: rgb(204, 187, 114);
/* oklch */ color: oklch(79.0% 0.095 96.6);
Tailwind
colors: {
  custom: {
    50: '#ddcf9c',
    500: '#ccbb72',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb72;
$custom-light: #ddcf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb72",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 114
  },
  "hsl": {
    "h": 48.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79018,
    "c": 0.09529,
    "h": 96.6
  },
  "luminance": 0.49593
}

Semantic roles & 50–950 ramp

primary
#CCBB72
secondary
#BCC3DD
accent
#46BA2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCBB72

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

Preview Lab → · Contrast checker → · Palette generator →

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