#CCBF51#CCBF51

#CCBF51 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.131 H 102.6°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CCBF51
RGBrgb(204, 191, 81)
HSLhsl(54, 55%, 56%)
HSVhsv(54, 60%, 80%)
CMYKcmyk(0%, 6.4%, 60.3%, 20%)
CIE-LABlab(76.49, -8.93, 55.73)
CIE-LCHlch(76.49, 56.44, 99.10°)
OKLaboklab(79.43% -0.0286 0.128)
OKLCHoklch(79.43% 0.131 102.6)
XYZxyz(45.0195, 50.6948, 15.1966)
Luminance0.5069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBF51 #515ECC
analogous
#CC8151 #CCBF51 #9BCC51
triadic
#CCBF51 #51CCBF #BF51CC
tetradic
#CCBF51 #51CC81 #515ECC #CC519B
square
#CCBF51 #51CC81 #515ECC #CC519B
split-complementary
#CCBF51 #519BCC #8151CC
monochromatic
#7E7425 #ADA033 #CCBF51 #DAD080 #E8E2B0

Accessibility & contrast

On white

1.89
#CCBF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CCBF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBF51
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBF51#FFFFFF#000000##000000
##CCBF511.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#DAB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ccbf51;
/* rgb */ color: rgb(204, 191, 81);
/* oklch */ color: oklch(79.4% 0.131 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded286',
    500: '#ccbf51',
    950: '#000000',
  },
}
SCSS
$custom: #ccbf51;
$custom-light: #ded286;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbf51",
  "rgb": {
    "r": 204,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 53.659,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79429,
    "c": 0.13113,
    "h": 102.6
  },
  "luminance": 0.50693
}

Semantic roles & 50–950 ramp

primary
#CCBF51
secondary
#3C4386
accent
#59DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCBF51

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

Preview Lab → · Contrast checker → · Palette generator →

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