#CCBF78#CCBF78

#CCBF78 is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.092 H 99.1°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CCBF78
RGBrgb(204, 191, 120)
HSLhsl(51, 45%, 64%)
HSVhsv(51, 41%, 80%)
CMYKcmyk(0%, 6.4%, 41.2%, 20%)
CIE-LABlab(76.95, -5.49, 37.43)
CIE-LCHlch(76.95, 37.83, 98.35°)
OKLaboklab(79.94% -0.0147 0.0913)
OKLCHoklch(79.94% 0.092 99.1)
XYZxyz(46.9238, 51.4565, 25.2260)
Luminance0.5145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF78 #7885CC
analogous
#CC9578 #CCBF78 #AFCC78
triadic
#CCBF78 #78CCBF #BF78CC
tetradic
#CCBF78 #78CC95 #7885CC #CC78AF
square
#CCBF78 #78CC95 #7885CC #CC78AF
split-complementary
#CCBF78 #78AFCC #9578CC
monochromatic
#928437 #BBAA4C #CCBF78 #DDD4A4 #EEE9D1

Accessibility & contrast

On white

1.86
#CCBF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CCBF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF78
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF78#FFFFFF#000000##000000
##CCBF781.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB73
Deuteranopia (green-blind)
#D0C07B
Tritanopia (blue-blind)
#D8B6AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf78;
/* rgb */ color: rgb(204, 191, 120);
/* oklch */ color: oklch(79.9% 0.092 99.1);
Tailwind
colors: {
  custom: {
    50: '#ddd2a0',
    500: '#ccbf78',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf78;
$custom-light: #ddd2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf78",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 120
  },
  "hsl": {
    "h": 50.714,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.79944,
    "c": 0.09246,
    "h": 99.1
  },
  "luminance": 0.51455
}

Semantic roles & 50–950 ramp

primary
#CCBF78
secondary
#4F5B99
accent
#43B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF78

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

Preview Lab → · Contrast checker → · Palette generator →

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