#CCBF98#CCBF98

#CCBF98 is a light, muted yellow. Relative luminance 0.524; OKLCH L 80.6% C 0.054 H 91.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CCBF98
RGBrgb(204, 191, 152)
HSLhsl(45, 34%, 70%)
HSVhsv(45, 25%, 80%)
CMYKcmyk(0%, 6.4%, 25.5%, 20%)
CIE-LABlab(77.50, -1.55, 21.37)
CIE-LCHlch(77.50, 21.43, 94.16°)
OKLaboklab(80.55% -0.0017 0.0543)
OKLCHoklch(80.55% 0.054 91.8)
XYZxyz(49.2003, 52.3671, 37.2158)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF98 #98A5CC
analogous
#CCA598 #CCBF98 #BFCC98
triadic
#CCBF98 #98CCBF #BF98CC
tetradic
#CCBF98 #98CCA5 #98A5CC #CC98BF
square
#CCBF98 #98CCA5 #98A5CC #CC98BF
split-complementary
#CCBF98 #98BFCC #A598CC
monochromatic
#9C894D #B8A66F #CCBF98 #E0D8C1 #F5F2EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF98#FFFFFF#000000##000000
##CCBF981.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)
#C8BD96
Deuteranopia (green-blind)
#CBC199
Tritanopia (blue-blind)
#D5B9B4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccbf98;
/* rgb */ color: rgb(204, 191, 152);
/* oklch */ color: oklch(80.6% 0.054 91.8);
Tailwind
colors: {
  custom: {
    50: '#dcd2b6',
    500: '#ccbf98',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf98;
$custom-light: #dcd2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf98",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 152
  },
  "hsl": {
    "h": 45,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.80553,
    "c": 0.05436,
    "h": 91.8
  },
  "luminance": 0.52366
}

Semantic roles & 50–950 ramp

primary
#CCBF98
secondary
#6776A1
accent
#56AD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCBF98

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

Preview Lab → · Contrast checker → · Palette generator →

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