#CCBF8E#CCBF8E

#CCBF8E is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.067 H 95.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CCBF8E
RGBrgb(204, 191, 142)
HSLhsl(47, 38%, 68%)
HSVhsv(47, 30%, 80%)
CMYKcmyk(0%, 6.4%, 30.4%, 20%)
CIE-LABlab(77.31, -2.89, 26.43)
CIE-LCHlch(77.31, 26.59, 96.24°)
OKLaboklab(80.34% -0.0058 0.0664)
OKLCHoklch(80.34% 0.067 95)
XYZxyz(48.4156, 52.0532, 33.0828)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF8E #8E9BCC
analogous
#CCA08E #CCBF8E #BACC8E
triadic
#CCBF8E #8ECCBF #BF8ECC
tetradic
#CCBF8E #8ECCA0 #8E9BCC #CC8EBA
square
#CCBF8E #8ECCA0 #8E9BCC #CC8EBA
split-complementary
#CCBF8E #8EBACC #A08ECC
monochromatic
#9A8846 #B9A764 #CCBF8E #DFD7B8 #F2EFE2

Accessibility & contrast

On white

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

On black

11.41
#CCBF8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF8E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF8E#FFFFFF#000000##000000
##CCBF8E1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf8e;
/* rgb */ color: rgb(204, 191, 142);
/* oklch */ color: oklch(80.3% 0.067 95.0);
Tailwind
colors: {
  custom: {
    50: '#dcd2af',
    500: '#ccbf8e',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf8e;
$custom-light: #dcd2af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf8e",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 142
  },
  "hsl": {
    "h": 47.419,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.80344,
    "c": 0.06663,
    "h": 95
  },
  "luminance": 0.52052
}

Semantic roles & 50–950 ramp

primary
#CCBF8E
secondary
#5D6CA1
accent
#4FB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCBF8E

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

Preview Lab → · Contrast checker → · Palette generator →

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