#CCBF7D#CCBF7D

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

Color values

HEX#CCBF7D
RGBrgb(204, 191, 125)
HSLhsl(50, 44%, 65%)
HSVhsv(50, 39%, 80%)
CMYKcmyk(0%, 6.4%, 38.7%, 20%)
CIE-LABlab(77.03, -4.94, 34.95)
CIE-LCHlch(77.03, 35.30, 98.05°)
OKLaboklab(80.03% -0.0127 0.0859)
OKLCHoklch(80.03% 0.087 98.4)
XYZxyz(47.2352, 51.5810, 26.8660)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF7D #7D8ACC
analogous
#CC987D #CCBF7D #B1CC7D
triadic
#CCBF7D #7DCCBF #BF7DCC
tetradic
#CCBF7D #7DCC98 #7D8ACC #CC7DB1
square
#CCBF7D #7DCC98 #7D8ACC #CC7DB1
split-complementary
#CCBF7D #7DB1CC #987DCC
monochromatic
#94863A #BBA951 #CCBF7D #DDD5A9 #EEEAD5

Accessibility & contrast

On white

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

On black

11.32
#CCBF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF7D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF7D#FFFFFF#000000##000000
##CCBF7D1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB78
Deuteranopia (green-blind)
#CFC07F
Tritanopia (blue-blind)
#D7B6AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf7d;
/* rgb */ color: rgb(204, 191, 125);
/* oklch */ color: oklch(80.0% 0.087 98.4);
Tailwind
colors: {
  custom: {
    50: '#ddd2a3',
    500: '#ccbf7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf7d;
$custom-light: #ddd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf7d",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 125
  },
  "hsl": {
    "h": 50.127,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80028,
    "c": 0.08679,
    "h": 98.4
  },
  "luminance": 0.5158
}

Semantic roles & 50–950 ramp

primary
#CCBF7D
secondary
#525E9B
accent
#45B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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