#CCBF6F#CCBF6F

#CCBF6F is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.102 H 100.2°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CCBF6F
RGBrgb(204, 191, 111)
HSLhsl(52, 48%, 62%)
HSVhsv(52, 46%, 80%)
CMYKcmyk(0%, 6.4%, 45.6%, 20%)
CIE-LABlab(76.83, -6.42, 41.84)
CIE-LCHlch(76.83, 42.33, 98.72°)
OKLaboklab(79.8% -0.0182 0.1007)
OKLCHoklch(79.8% 0.102 100.2)
XYZxyz(46.4031, 51.2482, 22.4834)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF6F #6F7CCC
analogous
#CC916F #CCBF6F #ABCC6F
triadic
#CCBF6F #6FCCBF #BF6FCC
tetradic
#CCBF6F #6FCC91 #6F7CCC #CC6FAB
square
#CCBF6F #6FCC91 #6F7CCC #CC6FAB
split-complementary
#CCBF6F #6FABCC #916FCC
monochromatic
#8E8132 #BBAB42 #CCBF6F #DCD39C #ECE7C9

Accessibility & contrast

On white

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

On black

11.25
#CCBF6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF6F
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF6F#FFFFFF#000000##000000
##CCBF6F1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbf6f;
/* rgb */ color: rgb(204, 191, 111);
/* oklch */ color: oklch(79.8% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#ddd29a',
    500: '#ccbf6f',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf6f;
$custom-light: #ddd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf6f",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 111
  },
  "hsl": {
    "h": 51.613,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.79804,
    "c": 0.10232,
    "h": 100.2
  },
  "luminance": 0.51247
}

Semantic roles & 50–950 ramp

primary
#CCBF6F
secondary
#4A5595
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCBF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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