#CCBF79#CCBF79

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

Color values

HEX#CCBF79
RGBrgb(204, 191, 121)
HSLhsl(51, 45%, 64%)
HSVhsv(51, 41%, 80%)
CMYKcmyk(0%, 6.4%, 40.7%, 20%)
CIE-LABlab(76.97, -5.39, 36.94)
CIE-LCHlch(76.97, 37.33, 98.29°)
OKLaboklab(79.96% -0.0143 0.0902)
OKLCHoklch(79.96% 0.091 99)
XYZxyz(46.9848, 51.4809, 25.5473)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF79 #7986CC
analogous
#CC9579 #CCBF79 #AFCC79
triadic
#CCBF79 #79CCBF #BF79CC
tetradic
#CCBF79 #79CC95 #7986CC #CC79AF
square
#CCBF79 #79CC95 #7986CC #CC79AF
split-complementary
#CCBF79 #79AFCC #9579CC
monochromatic
#938538 #BBAA4D #CCBF79 #DDD4A5 #EEE9D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBF79#FFFFFF#000000##000000
##CCBF791.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)
#CCBB74
Deuteranopia (green-blind)
#CFC07C
Tritanopia (blue-blind)
#D8B6AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccbf79;
/* rgb */ color: rgb(204, 191, 121);
/* oklch */ color: oklch(80.0% 0.091 99.0);
Tailwind
colors: {
  custom: {
    50: '#ddd2a0',
    500: '#ccbf79',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf79;
$custom-light: #ddd2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf79",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 121
  },
  "hsl": {
    "h": 50.602,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.7996,
    "c": 0.09133,
    "h": 99
  },
  "luminance": 0.51479
}

Semantic roles & 50–950 ramp

primary
#CCBF79
secondary
#505B99
accent
#43B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCBF79

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

Preview Lab → · Contrast checker → · Palette generator →

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