#CCBF66#CCBF66

#CCBF66 is a light, moderate yellow. Relative luminance 0.511; OKLCH L 79.7% C 0.112 H 101.1°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CCBF66
RGBrgb(204, 191, 102)
HSLhsl(52, 50%, 60%)
HSVhsv(52, 50%, 80%)
CMYKcmyk(0%, 6.4%, 50%, 20%)
CIE-LABlab(76.72, -7.26, 46.16)
CIE-LCHlch(76.72, 46.73, 98.94°)
OKLaboklab(79.68% -0.0215 0.1096)
OKLCHoklch(79.68% 0.112 101.1)
XYZxyz(45.9322, 51.0599, 20.0038)
Luminance0.5106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF66 #6673CC
analogous
#CC8C66 #CCBF66 #A6CC66
triadic
#CCBF66 #66CCBF #BF66CC
tetradic
#CCBF66 #66CC8C #6673CC #CC66A6
square
#CCBF66 #66CC8C #6673CC #CC66A6
split-complementary
#CCBF66 #66A6CC #8C66CC
monochromatic
#8A7E2E #B8A83D #CCBF66 #DBD294 #EBE5C2

Accessibility & contrast

On white

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

On black

11.21
#CCBF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF66
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF66#FFFFFF#000000##000000
##CCBF661.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBA5E
Deuteranopia (green-blind)
#D1C06A
Tritanopia (blue-blind)
#D9B4AA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf66;
/* rgb */ color: rgb(204, 191, 102);
/* oklch */ color: oklch(79.7% 0.112 101.1);
Tailwind
colors: {
  custom: {
    50: '#ddd294',
    500: '#ccbf66',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf66;
$custom-light: #ddd294;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf66",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 102
  },
  "hsl": {
    "h": 52.353,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.79677,
    "c": 0.11168,
    "h": 101.1
  },
  "luminance": 0.51058
}

Semantic roles & 50–950 ramp

primary
#CCBF66
secondary
#464F91
accent
#60DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCBF66

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

Preview Lab → · Contrast checker → · Palette generator →

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