#CCBF7B#CCBF7B

#CCBF7B is a light, moderate yellow. Relative luminance 0.515; OKLCH L 80.0% C 0.089 H 98.7°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CCBF7B
RGBrgb(204, 191, 123)
HSLhsl(50, 44%, 64%)
HSVhsv(50, 40%, 80%)
CMYKcmyk(0%, 6.4%, 39.7%, 20%)
CIE-LABlab(77.00, -5.17, 35.95)
CIE-LCHlch(77.00, 36.32, 98.18°)
OKLaboklab(79.99% -0.0135 0.088)
OKLCHoklch(79.99% 0.089 98.7)
XYZxyz(47.1087, 51.5304, 26.1999)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF7B #7B88CC
analogous
#CC977B #CCBF7B #B1CC7B
triadic
#CCBF7B #7BCCBF #BF7BCC
tetradic
#CCBF7B #7BCC97 #7B88CC #CC7BB1
square
#CCBF7B #7BCC97 #7B88CC #CC7BB1
split-complementary
#CCBF7B #7BB1CC #977BCC
monochromatic
#948539 #BBAA4F #CCBF7B #DDD4A7 #EEEAD3

Accessibility & contrast

On white

1.86
#CCBF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CCBF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF7B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF7B#FFFFFF#000000##000000
##CCBF7B1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB76
Deuteranopia (green-blind)
#CFC07E
Tritanopia (blue-blind)
#D7B6AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf7b;
/* rgb */ color: rgb(204, 191, 123);
/* oklch */ color: oklch(80.0% 0.089 98.7);
Tailwind
colors: {
  custom: {
    50: '#ddd2a2',
    500: '#ccbf7b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf7b;
$custom-light: #ddd2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf7b",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 123
  },
  "hsl": {
    "h": 50.37,
    "s": 44.262,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79994,
    "c": 0.08907,
    "h": 98.7
  },
  "luminance": 0.51529
}

Semantic roles & 50–950 ramp

primary
#CCBF7B
secondary
#515D9A
accent
#44B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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