#CCBF81#CCBF81

#CCBF81 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.082 H 97.8°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CCBF81
RGBrgb(204, 191, 129)
HSLhsl(50, 42%, 65%)
HSVhsv(50, 37%, 80%)
CMYKcmyk(0%, 6.4%, 36.8%, 20%)
CIE-LABlab(77.09, -4.49, 32.96)
CIE-LCHlch(77.09, 33.26, 97.75°)
OKLaboklab(80.1% -0.0111 0.0814)
OKLCHoklch(80.1% 0.082 97.8)
XYZxyz(47.4959, 51.6853, 28.2389)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF81 #818ECC
analogous
#CC9981 #CCBF81 #B3CC81
triadic
#CCBF81 #81CCBF #BF81CC
tetradic
#CCBF81 #81CC99 #818ECC #CC81B3
square
#CCBF81 #81CC99 #818ECC #CC81B3
split-complementary
#CCBF81 #81B3CC #9981CC
monochromatic
#96863D #BAA955 #CCBF81 #DED5AD #EFEBD8

Accessibility & contrast

On white

1.85
#CCBF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CCBF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF81
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF81#FFFFFF#000000##000000
##CCBF811.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBC7D
Deuteranopia (green-blind)
#CEC083
Tritanopia (blue-blind)
#D7B6AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf81;
/* rgb */ color: rgb(204, 191, 129);
/* oklch */ color: oklch(80.1% 0.082 97.8);
Tailwind
colors: {
  custom: {
    50: '#dcd2a6',
    500: '#ccbf81',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf81;
$custom-light: #dcd2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf81",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 129
  },
  "hsl": {
    "h": 49.6,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80098,
    "c": 0.08215,
    "h": 97.8
  },
  "luminance": 0.51684
}

Semantic roles & 50–950 ramp

primary
#CCBF81
secondary
#55619C
accent
#47B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF81

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

Preview Lab → · Contrast checker → · Palette generator →

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