#CCBF56#CCBF56

#CCBF56 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.5% C 0.127 H 102.3°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CCBF56
RGBrgb(204, 191, 86)
HSLhsl(53, 54%, 57%)
HSVhsv(53, 58%, 80%)
CMYKcmyk(0%, 6.4%, 57.8%, 20%)
CIE-LABlab(76.54, -8.57, 53.53)
CIE-LCHlch(76.54, 54.21, 99.09°)
OKLaboklab(79.48% -0.027 0.1239)
OKLCHoklch(79.48% 0.127 102.3)
XYZxyz(45.2139, 50.7725, 16.2207)
Luminance0.5077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF56 #5663CC
analogous
#CC8456 #CCBF56 #9ECC56
triadic
#CCBF56 #56CCBF #BF56CC
tetradic
#CCBF56 #56CC84 #5663CC #CC569E
square
#CCBF56 #56CC84 #5663CC #CC569E
split-complementary
#CCBF56 #569ECC #8456CC
monochromatic
#817727 #B0A235 #CCBF56 #DAD185 #E8E3B4

Accessibility & contrast

On white

1.88
#CCBF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#CCBF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF56
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF56#FFFFFF#000000##000000
##CCBF561.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB94B
Deuteranopia (green-blind)
#D3BF5B
Tritanopia (blue-blind)
#DAB3A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf56;
/* rgb */ color: rgb(204, 191, 86);
/* oklch */ color: oklch(79.5% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#ded289',
    500: '#ccbf56',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf56;
$custom-light: #ded289;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf56",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 53.39,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79482,
    "c": 0.12683,
    "h": 102.3
  },
  "luminance": 0.50771
}

Semantic roles & 50–950 ramp

primary
#CCBF56
secondary
#3E4688
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCBF56

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

Preview Lab → · Contrast checker → · Palette generator →

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