#CCBF7A#CCBF7A

#CCBF7A is a light, moderate yellow. Relative luminance 0.515; OKLCH L 80.0% C 0.090 H 98.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CCBF7A
RGBrgb(204, 191, 122)
HSLhsl(50, 45%, 64%)
HSVhsv(50, 40%, 80%)
CMYKcmyk(0%, 6.4%, 40.2%, 20%)
CIE-LABlab(76.98, -5.28, 36.44)
CIE-LCHlch(76.98, 36.82, 98.24°)
OKLaboklab(79.98% -0.0139 0.0891)
OKLCHoklch(79.98% 0.09 98.9)
XYZxyz(47.0464, 51.5055, 25.8719)
Luminance0.5150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF7A #7A87CC
analogous
#CC967A #CCBF7A #B0CC7A
triadic
#CCBF7A #7ACCBF #BF7ACC
tetradic
#CCBF7A #7ACC96 #7A87CC #CC7AB0
square
#CCBF7A #7ACC96 #7A87CC #CC7AB0
split-complementary
#CCBF7A #7AB0CC #967ACC
monochromatic
#938538 #BBAA4E #CCBF7A #DDD4A6 #EEEAD2

Accessibility & contrast

On white

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

On black

11.30
#CCBF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF7A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF7A#FFFFFF#000000##000000
##CCBF7A1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBB75
Deuteranopia (green-blind)
#CFC07D
Tritanopia (blue-blind)
#D8B6AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf7a;
/* rgb */ color: rgb(204, 191, 122);
/* oklch */ color: oklch(80.0% 0.090 98.9);
Tailwind
colors: {
  custom: {
    50: '#ddd2a1',
    500: '#ccbf7a',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf7a;
$custom-light: #ddd2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf7a",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 122
  },
  "hsl": {
    "h": 50.488,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.79977,
    "c": 0.09021,
    "h": 98.9
  },
  "luminance": 0.51504
}

Semantic roles & 50–950 ramp

primary
#CCBF7A
secondary
#515C9A
accent
#44B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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