#CCBF7F#CCBF7F

#CCBF7F is a light, moderate yellow. Relative luminance 0.516; OKLCH L 80.1% C 0.084 H 98.1°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CCBF7F
RGBrgb(204, 191, 127)
HSLhsl(50, 43%, 65%)
HSVhsv(50, 38%, 80%)
CMYKcmyk(0%, 6.4%, 37.7%, 20%)
CIE-LABlab(77.06, -4.72, 33.96)
CIE-LCHlch(77.06, 34.28, 97.91°)
OKLaboklab(80.06% -0.0119 0.0836)
OKLCHoklch(80.06% 0.084 98.1)
XYZxyz(47.3642, 51.6327, 27.5457)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF7F #7F8CCC
analogous
#CC987F #CCBF7F #B3CC7F
triadic
#CCBF7F #7FCCBF #BF7FCC
tetradic
#CCBF7F #7FCC98 #7F8CCC #CC7FB3
square
#CCBF7F #7FCC98 #7F8CCC #CC7FB3
split-complementary
#CCBF7F #7FB3CC #987FCC
monochromatic
#95863B #BBA953 #CCBF7F #DDD5AB #EFEBD7

Accessibility & contrast

On white

1.85
#CCBF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CCBF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF7F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF7F#FFFFFF#000000##000000
##CCBF7F1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB7A
Deuteranopia (green-blind)
#CFC081
Tritanopia (blue-blind)
#D7B6AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf7f;
/* rgb */ color: rgb(204, 191, 127);
/* oklch */ color: oklch(80.1% 0.084 98.1);
Tailwind
colors: {
  custom: {
    50: '#dcd2a5',
    500: '#ccbf7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf7f;
$custom-light: #dcd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf7f",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 127
  },
  "hsl": {
    "h": 49.87,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80062,
    "c": 0.08447,
    "h": 98.1
  },
  "luminance": 0.51631
}

Semantic roles & 50–950 ramp

primary
#CCBF7F
secondary
#54609C
accent
#46B62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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