#CCBB71#CCBB71

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

Color values

HEX#CCBB71
RGBrgb(204, 187, 113)
HSLhsl(49, 47%, 62%)
HSVhsv(49, 45%, 80%)
CMYKcmyk(0%, 8.3%, 44.6%, 20%)
CIE-LABlab(75.81, -4.14, 39.55)
CIE-LCHlch(75.81, 39.77, 95.97°)
OKLaboklab(79% -0.0114 0.0957)
OKLCHoklch(79% 0.096 96.8)
XYZxyz(45.6540, 49.5719, 22.7831)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB71 #7182CC
analogous
#CC8E71 #CCBB71 #B0CC71
triadic
#CCBB71 #71CCBB #BB71CC
tetradic
#CCBB71 #71CC8E #7182CC #CC71B0
square
#CCBB71 #71CC8E #7182CC #CC71B0
split-complementary
#CCBB71 #71B0CC #8E71CC
monochromatic
#8F7E33 #BCA544 #CCBB71 #DCD19E #ECE6CB

Accessibility & contrast

On white

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

On black

10.91
#CCBB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB71
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB71#FFFFFF#000000##000000
##CCBB711.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B76B
Deuteranopia (green-blind)
#CDBD74
Tritanopia (blue-blind)
#D9B1A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbb71;
/* rgb */ color: rgb(204, 187, 113);
/* oklch */ color: oklch(79.0% 0.096 96.8);
Tailwind
colors: {
  custom: {
    50: '#ddcf9b',
    500: '#ccbb71',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb71;
$custom-light: #ddcf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb71",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 113
  },
  "hsl": {
    "h": 48.791,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.79002,
    "c": 0.09637,
    "h": 96.8
  },
  "luminance": 0.4957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBB71

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

Preview Lab → · Contrast checker → · Palette generator →

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