#CCBF97#CCBF97

#CCBF97 is a light, muted yellow. Relative luminance 0.523; OKLCH L 80.5% C 0.056 H 92.2°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CCBF97
RGBrgb(204, 191, 151)
HSLhsl(45, 34%, 70%)
HSVhsv(45, 26%, 80%)
CMYKcmyk(0%, 6.4%, 26%, 20%)
CIE-LABlab(77.48, -1.69, 21.88)
CIE-LCHlch(77.48, 21.94, 94.42°)
OKLaboklab(80.53% -0.0021 0.0556)
OKLCHoklch(80.53% 0.056 92.2)
XYZxyz(49.1188, 52.3345, 36.7862)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF97 #97A4CC
analogous
#CCA597 #CCBF97 #BFCC97
triadic
#CCBF97 #97CCBF #BF97CC
tetradic
#CCBF97 #97CCA5 #97A4CC #CC97BF
square
#CCBF97 #97CCA5 #97A4CC #CC97BF
split-complementary
#CCBF97 #97BFCC #A597CC
monochromatic
#9C894D #B8A66E #CCBF97 #E0D8C0 #F4F2E9

Accessibility & contrast

On white

1.83
#CCBF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#CCBF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF97
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF97#FFFFFF#000000##000000
##CCBF971.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BD94
Deuteranopia (green-blind)
#CBC198
Tritanopia (blue-blind)
#D5B9B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccbf97;
/* rgb */ color: rgb(204, 191, 151);
/* oklch */ color: oklch(80.5% 0.056 92.2);
Tailwind
colors: {
  custom: {
    50: '#dcd2b5',
    500: '#ccbf97',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf97;
$custom-light: #dcd2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf97",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 151
  },
  "hsl": {
    "h": 45.283,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.80531,
    "c": 0.05559,
    "h": 92.2
  },
  "luminance": 0.52333
}

Semantic roles & 50–950 ramp

primary
#CCBF97
secondary
#6675A1
accent
#55AD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCBF97

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

Preview Lab → · Contrast checker → · Palette generator →

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