#CCBB50#CCBB50

#CCBB50 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#CCBB50
RGBrgb(204, 187, 80)
HSLhsl(52, 55%, 56%)
HSVhsv(52, 61%, 80%)
CMYKcmyk(0%, 8.3%, 60.8%, 20%)
CIE-LABlab(75.43, -6.93, 55.00)
CIE-LCHlch(75.43, 55.43, 97.18°)
OKLaboklab(78.58% -0.023 0.1263)
OKLCHoklch(78.58% 0.128 100.3)
XYZxyz(44.1218, 48.9590, 14.7138)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB50 #5061CC
analogous
#CC7D50 #CCBB50 #9FCC50
triadic
#CCBB50 #50CCBB #BB50CC
tetradic
#CCBB50 #50CC7D #5061CC #CC509F
square
#CCBB50 #50CC7D #5061CC #CC509F
split-complementary
#CCBB50 #509FCC #7D50CC
monochromatic
#7D7124 #AD9C32 #CCBB50 #DACD7F #E8E0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBB50#FFFFFF#000000##000000
##CCBB501.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)
#CBB644
Deuteranopia (green-blind)
#D0BD55
Tritanopia (blue-blind)
#DBAFA4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb50;
/* rgb */ color: rgb(204, 187, 80);
/* oklch */ color: oklch(78.6% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#decf85',
    500: '#ccbb50',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb50;
$custom-light: #decf85;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb50",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 80
  },
  "hsl": {
    "h": 51.774,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78579,
    "c": 0.12836,
    "h": 100.3
  },
  "luminance": 0.48957
}

Semantic roles & 50–950 ramp

primary
#CCBB50
secondary
#A2A9D6
accent
#5EDE4A
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CCBB50

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

Preview Lab → · Contrast checker → · Palette generator →

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