#CCBF8F#CCBF8F

#CCBF8F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.4% C 0.065 H 94.7°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CCBF8F
RGBrgb(204, 191, 143)
HSLhsl(47, 37%, 68%)
HSVhsv(47, 30%, 80%)
CMYKcmyk(0%, 6.4%, 29.9%, 20%)
CIE-LABlab(77.33, -2.76, 25.92)
CIE-LCHlch(77.33, 26.07, 96.08°)
OKLaboklab(80.36% -0.0054 0.0652)
OKLCHoklch(80.36% 0.065 94.7)
XYZxyz(48.4910, 52.0834, 33.4800)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF8F #8F9CCC
analogous
#CCA08F #CCBF8F #BACC8F
triadic
#CCBF8F #8FCCBF #BF8FCC
tetradic
#CCBF8F #8FCCA0 #8F9CCC #CC8FBA
square
#CCBF8F #8FCCA0 #8F9CCC #CC8FBA
split-complementary
#CCBF8F #8FBACC #A08FCC
monochromatic
#9A8846 #B9A765 #CCBF8F #DFD7B9 #F2EFE3

Accessibility & contrast

On white

1.84
#CCBF8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CCBF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF8F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF8F#FFFFFF#000000##000000
##CCBF8F1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BD8C
Deuteranopia (green-blind)
#CDC191
Tritanopia (blue-blind)
#D6B8B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccbf8f;
/* rgb */ color: rgb(204, 191, 143);
/* oklch */ color: oklch(80.4% 0.065 94.7);
Tailwind
colors: {
  custom: {
    50: '#dcd2b0',
    500: '#ccbf8f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf8f;
$custom-light: #dcd2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf8f",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 143
  },
  "hsl": {
    "h": 47.213,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.80364,
    "c": 0.06541,
    "h": 94.7
  },
  "luminance": 0.52082
}

Semantic roles & 50–950 ramp

primary
#CCBF8F
secondary
#5E6CA1
accent
#4FB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCBF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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