#CCBF72#CCBF72

#CCBF72 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.099 H 99.9°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CCBF72
RGBrgb(204, 191, 114)
HSLhsl(51, 47%, 62%)
HSVhsv(51, 44%, 80%)
CMYKcmyk(0%, 6.4%, 44.1%, 20%)
CIE-LABlab(76.87, -6.12, 40.38)
CIE-LCHlch(76.87, 40.84, 98.62°)
OKLaboklab(79.85% -0.017 0.0976)
OKLCHoklch(79.85% 0.099 99.9)
XYZxyz(46.5710, 51.3154, 23.3680)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF72 #727FCC
analogous
#CC9272 #CCBF72 #ACCC72
triadic
#CCBF72 #72CCBF #BF72CC
tetradic
#CCBF72 #72CC92 #727FCC #CC72AC
square
#CCBF72 #72CC92 #727FCC #CC72AC
split-complementary
#CCBF72 #72ACCC #9272CC
monochromatic
#908234 #BCAB45 #CCBF72 #DCD39F #EDE8CC

Accessibility & contrast

On white

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

On black

11.26
#CCBF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF72
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF72#FFFFFF#000000##000000
##CCBF721.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf72;
/* rgb */ color: rgb(204, 191, 114);
/* oklch */ color: oklch(79.8% 0.099 99.9);
Tailwind
colors: {
  custom: {
    50: '#ddd29c',
    500: '#ccbf72',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf72;
$custom-light: #ddd29c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf72",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 114
  },
  "hsl": {
    "h": 51.333,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79849,
    "c": 0.09909,
    "h": 99.9
  },
  "luminance": 0.51314
}

Semantic roles & 50–950 ramp

primary
#CCBF72
secondary
#4C5796
accent
#40BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCBF72

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

Preview Lab → · Contrast checker → · Palette generator →

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