#CCBF7C#CCBF7C

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

Color values

HEX#CCBF7C
RGBrgb(204, 191, 124)
HSLhsl(50, 44%, 64%)
HSVhsv(50, 39%, 80%)
CMYKcmyk(0%, 6.4%, 39.2%, 20%)
CIE-LABlab(77.01, -5.06, 35.45)
CIE-LCHlch(77.01, 35.81, 98.12°)
OKLaboklab(80.01% -0.0131 0.087)
OKLCHoklch(80.01% 0.088 98.6)
XYZxyz(47.1716, 51.5556, 26.5313)
Luminance0.5155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF7C #7C89CC
analogous
#CC977C #CCBF7C #B1CC7C
triadic
#CCBF7C #7CCCBF #BF7CCC
tetradic
#CCBF7C #7CCC97 #7C89CC #CC7CB1
square
#CCBF7C #7CCC97 #7C89CC #CC7CB1
split-complementary
#CCBF7C #7CB1CC #977CCC
monochromatic
#94853A #BBA950 #CCBF7C #DDD5A8 #EEEAD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF7C#FFFFFF#000000##000000
##CCBF7C1.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)
#CBBB77
Deuteranopia (green-blind)
#CFC07F
Tritanopia (blue-blind)
#D7B6AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf7c;
/* rgb */ color: rgb(204, 191, 124);
/* oklch */ color: oklch(80.0% 0.088 98.6);
Tailwind
colors: {
  custom: {
    50: '#ddd2a3',
    500: '#ccbf7c',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf7c;
$custom-light: #ddd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf7c",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 124
  },
  "hsl": {
    "h": 50.25,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80011,
    "c": 0.08793,
    "h": 98.6
  },
  "luminance": 0.51554
}

Semantic roles & 50–950 ramp

primary
#CCBF7C
secondary
#525E9A
accent
#45B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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