#CCBC51#CCBC51

#CCBC51 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.128 H 100.9°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CCBC51
RGBrgb(204, 188, 81)
HSLhsl(52, 55%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 7.8%, 60.3%, 20%)
CIE-LABlab(75.70, -7.38, 54.85)
CIE-LCHlch(75.70, 55.35, 97.66°)
OKLaboklab(78.8% -0.0242 0.1261)
OKLCHoklch(78.8% 0.128 100.9)
XYZxyz(44.3720, 49.3997, 14.9808)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC51 #5161CC
analogous
#CC7E51 #CCBC51 #9ECC51
triadic
#CCBC51 #51CCBC #BC51CC
tetradic
#CCBC51 #51CC7E #5161CC #CC519E
square
#CCBC51 #51CC7E #5161CC #CC519E
split-complementary
#CCBC51 #519ECC #7E51CC
monochromatic
#7E7225 #AD9D33 #CCBC51 #DACE80 #E8E0B0

Accessibility & contrast

On white

1.93
#CCBC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#CCBC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC51
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC51#FFFFFF#000000##000000
##CCBC511.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#D1BD56
Tritanopia (blue-blind)
#DBB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc51;
/* rgb */ color: rgb(204, 188, 81);
/* oklch */ color: oklch(78.8% 0.128 100.9);
Tailwind
colors: {
  custom: {
    50: '#decf86',
    500: '#ccbc51',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc51;
$custom-light: #decf86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc51",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 52.195,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78799,
    "c": 0.12841,
    "h": 100.9
  },
  "luminance": 0.49398
}

Semantic roles & 50–950 ramp

primary
#CCBC51
secondary
#A3AAD6
accent
#5DDE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBC51

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

Preview Lab → · Contrast checker → · Palette generator →

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