#CCBF71#CCBF71

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

Color values

HEX#CCBF71
RGBrgb(204, 191, 113)
HSLhsl(51, 47%, 62%)
HSVhsv(51, 45%, 80%)
CMYKcmyk(0%, 6.4%, 44.6%, 20%)
CIE-LABlab(76.86, -6.22, 40.86)
CIE-LCHlch(76.86, 41.34, 98.65°)
OKLaboklab(79.83% -0.0174 0.0987)
OKLCHoklch(79.83% 0.1 100)
XYZxyz(46.5144, 51.2927, 23.0699)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF71 #717ECC
analogous
#CC9271 #CCBF71 #ABCC71
triadic
#CCBF71 #71CCBF #BF71CC
tetradic
#CCBF71 #71CC92 #717ECC #CC71AB
square
#CCBF71 #71CC92 #717ECC #CC71AB
split-complementary
#CCBF71 #71ABCC #9271CC
monochromatic
#8F8233 #BCAB44 #CCBF71 #DCD39E #ECE8CB

Accessibility & contrast

On white

1.87
#CCBF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF71#FFFFFF#000000##000000
##CCBF711.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf71;
/* rgb */ color: rgb(204, 191, 113);
/* oklch */ color: oklch(79.8% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#ddd29b',
    500: '#ccbf71',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf71;
$custom-light: #ddd29b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf71",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 113
  },
  "hsl": {
    "h": 51.429,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.79834,
    "c": 0.10017,
    "h": 100
  },
  "luminance": 0.51291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBF71

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

Preview Lab → · Contrast checker → · Palette generator →

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