#CCBC68#CCBC68

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

Color values

HEX#CCBC68
RGBrgb(204, 188, 104)
HSLhsl(50, 50%, 60%)
HSVhsv(50, 49%, 80%)
CMYKcmyk(0%, 7.8%, 49%, 20%)
CIE-LABlab(75.95, -5.53, 44.25)
CIE-LCHlch(75.95, 44.59, 97.12°)
OKLaboklab(79.08% -0.0163 0.1056)
OKLCHoklch(79.08% 0.107 98.8)
XYZxyz(45.3851, 49.8049, 20.3167)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC68 #6878CC
analogous
#CC8A68 #CCBC68 #AACC68
triadic
#CCBC68 #68CCBC #BC68CC
tetradic
#CCBC68 #68CC8A #6878CC #CC68AA
square
#CCBC68 #68CC8A #6878CC #CC68AA
split-complementary
#CCBC68 #68AACC #8A68CC
monochromatic
#8B7C2F #B8A53E #CCBC68 #DBD096 #EBE5C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBC68#FFFFFF#000000##000000
##CCBC681.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)
#CAB861
Deuteranopia (green-blind)
#CFBE6C
Tritanopia (blue-blind)
#D9B1A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc68;
/* rgb */ color: rgb(204, 188, 104);
/* oklch */ color: oklch(79.1% 0.107 98.8);
Tailwind
colors: {
  custom: {
    50: '#ddd095',
    500: '#ccbc68',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc68;
$custom-light: #ddd095;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc68",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 104
  },
  "hsl": {
    "h": 50.4,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.79078,
    "c": 0.1068,
    "h": 98.8
  },
  "luminance": 0.49803
}

Semantic roles & 50–950 ramp

primary
#CCBC68
secondary
#B5BBDB
accent
#40BD29
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCBC68

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

Preview Lab → · Contrast checker → · Palette generator →

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