#CCBF6C#CCBF6C

#CCBF6C is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.105 H 100.5°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CCBF6C
RGBrgb(204, 191, 108)
HSLhsl(52, 48%, 61%)
HSVhsv(52, 47%, 80%)
CMYKcmyk(0%, 6.4%, 47.1%, 20%)
CIE-LABlab(76.79, -6.71, 43.29)
CIE-LCHlch(76.79, 43.81, 98.81°)
OKLaboklab(79.76% -0.0193 0.1037)
OKLCHoklch(79.76% 0.106 100.5)
XYZxyz(46.2406, 51.1832, 21.6280)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF6C #6C79CC
analogous
#CC8F6C #CCBF6C #A9CC6C
triadic
#CCBF6C #6CCCBF #BF6CCC
tetradic
#CCBF6C #6CCC8F #6C79CC #CC6CA9
square
#CCBF6C #6CCC8F #6C79CC #CC6CA9
split-complementary
#CCBF6C #6CA9CC #8F6CCC
monochromatic
#8D8031 #BAAA41 #CCBF6C #DCD399 #ECE7C7

Accessibility & contrast

On white

1.87
#CCBF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#CCBF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF6C
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF6C#FFFFFF#000000##000000
##CCBF6C1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBA65
Deuteranopia (green-blind)
#D1C070
Tritanopia (blue-blind)
#D9B5AB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf6c;
/* rgb */ color: rgb(204, 191, 108);
/* oklch */ color: oklch(79.8% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#ddd298',
    500: '#ccbf6c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf6c;
$custom-light: #ddd298;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf6c",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 108
  },
  "hsl": {
    "h": 51.875,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.7976,
    "c": 0.1055,
    "h": 100.5
  },
  "luminance": 0.51182
}

Semantic roles & 50–950 ramp

primary
#CCBF6C
secondary
#495393
accent
#3EBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCBF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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