#CCBF73#CCBF73

#CCBF73 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.098 H 99.8°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CCBF73
RGBrgb(204, 191, 115)
HSLhsl(51, 47%, 63%)
HSVhsv(51, 44%, 80%)
CMYKcmyk(0%, 6.4%, 43.6%, 20%)
CIE-LABlab(76.88, -6.02, 39.89)
CIE-LCHlch(76.88, 40.34, 98.58°)
OKLaboklab(79.86% -0.0166 0.0966)
OKLCHoklch(79.86% 0.098 99.8)
XYZxyz(46.6282, 51.3383, 23.6694)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF73 #7380CC
analogous
#CC9273 #CCBF73 #ACCC73
triadic
#CCBF73 #73CCBF #BF73CC
tetradic
#CCBF73 #73CC92 #7380CC #CC73AC
square
#CCBF73 #73CC92 #7380CC #CC73AC
split-complementary
#CCBF73 #73ACCC #9273CC
monochromatic
#908334 #BCAA46 #CCBF73 #DCD4A0 #EDE8CD

Accessibility & contrast

On white

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

On black

11.27
#CCBF73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF73
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF73#FFFFFF#000000##000000
##CCBF731.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBB6D
Deuteranopia (green-blind)
#D0C076
Tritanopia (blue-blind)
#D8B5AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf73;
/* rgb */ color: rgb(204, 191, 115);
/* oklch */ color: oklch(79.9% 0.098 99.8);
Tailwind
colors: {
  custom: {
    50: '#ddd29c',
    500: '#ccbf73',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf73;
$custom-light: #ddd29c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf73",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 115
  },
  "hsl": {
    "h": 51.236,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.79864,
    "c": 0.098,
    "h": 99.8
  },
  "luminance": 0.51337
}

Semantic roles & 50–950 ramp

primary
#CCBF73
secondary
#4D5797
accent
#40BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCBF73

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

Preview Lab → · Contrast checker → · Palette generator →

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