#CCBB51#CCBB51

#CCBB51 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.6% C 0.128 H 100.3°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CCBB51
RGBrgb(204, 187, 81)
HSLhsl(52, 55%, 56%)
HSVhsv(52, 60%, 80%)
CMYKcmyk(0%, 8.3%, 60.3%, 20%)
CIE-LABlab(75.44, -6.86, 54.56)
CIE-LCHlch(75.44, 54.99, 97.17°)
OKLaboklab(78.59% -0.0227 0.1255)
OKLCHoklch(78.59% 0.128 100.3)
XYZxyz(44.1591, 48.9739, 14.9098)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB51 #5162CC
analogous
#CC7D51 #CCBB51 #9FCC51
triadic
#CCBB51 #51CCBB #BB51CC
tetradic
#CCBB51 #51CC7D #5162CC #CC519F
square
#CCBB51 #51CC7D #5162CC #CC519F
split-complementary
#CCBB51 #519FCC #7D51CC
monochromatic
#7E7125 #AD9C33 #CCBB51 #DACD80 #E8E0B0

Accessibility & contrast

On white

1.95
#CCBB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CCBB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB51
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB51#FFFFFF#000000##000000
##CCBB511.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB645
Deuteranopia (green-blind)
#D0BD56
Tritanopia (blue-blind)
#DBAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb51;
/* rgb */ color: rgb(204, 187, 81);
/* oklch */ color: oklch(78.6% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#decf86',
    500: '#ccbb51',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb51;
$custom-light: #decf86;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb51",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 51.707,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78589,
    "c": 0.12752,
    "h": 100.3
  },
  "luminance": 0.48972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBB51

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

Preview Lab → · Contrast checker → · Palette generator →

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