#CCBC66#CCBC66

#CCBC66 is a light, moderate yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.109 H 99.0°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#CCBC66
RGBrgb(204, 188, 102)
HSLhsl(51, 50%, 60%)
HSVhsv(51, 50%, 80%)
CMYKcmyk(0%, 7.8%, 50%, 20%)
CIE-LABlab(75.92, -5.71, 45.20)
CIE-LCHlch(75.92, 45.56, 97.20°)
OKLaboklab(79.05% -0.017 0.1075)
OKLCHoklch(79.05% 0.109 99)
XYZxyz(45.2847, 49.7648, 19.7880)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC66 #6676CC
analogous
#CC8966 #CCBC66 #A9CC66
triadic
#CCBC66 #66CCBC #BC66CC
tetradic
#CCBC66 #66CC89 #6676CC #CC66A9
square
#CCBC66 #66CC89 #6676CC #CC66A9
split-complementary
#CCBC66 #66A9CC #8966CC
monochromatic
#8A7B2E #B8A43D #CCBC66 #DBD094 #EBE4C2

Accessibility & contrast

On white

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

On black

10.95
#CCBC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC66
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC66#FFFFFF#000000##000000
##CCBC661.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB85F
Deuteranopia (green-blind)
#CFBE6A
Tritanopia (blue-blind)
#D9B1A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc66;
/* rgb */ color: rgb(204, 188, 102);
/* oklch */ color: oklch(79.0% 0.109 99.0);
Tailwind
colors: {
  custom: {
    50: '#ddd093',
    500: '#ccbc66',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc66;
$custom-light: #ddd093;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc66",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 102
  },
  "hsl": {
    "h": 50.588,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.7905,
    "c": 0.10883,
    "h": 99
  },
  "luminance": 0.49763
}

Semantic roles & 50–950 ramp

primary
#CCBC66
secondary
#B3B9DB
accent
#64DA4E
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBC66

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

Preview Lab → · Contrast checker → · Palette generator →

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