#CCBB3B#CCBB3B

#CCBB3B is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.4% C 0.144 H 101.6°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CCBB3B
RGBrgb(204, 187, 59)
HSLhsl(53, 59%, 52%)
HSVhsv(53, 71%, 80%)
CMYKcmyk(0%, 8.3%, 71.1%, 20%)
CIE-LABlab(75.26, -8.16, 63.51)
CIE-LCHlch(75.26, 64.03, 97.32°)
OKLaboklab(78.4% -0.0288 0.141)
OKLCHoklch(78.4% 0.144 101.6)
XYZxyz(43.4635, 48.6957, 11.2466)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB3B #3B4CCC
analogous
#CC733B #CCBB3B #94CC3B
triadic
#CCBB3B #3BCCBB #BB3BCC
tetradic
#CCBB3B #3BCC73 #3B4CCC #CC3B94
square
#CCBB3B #3BCC73 #3B4CCC #CC3B94
split-complementary
#CCBB3B #3B94CC #733BCC
monochromatic
#70661D #A0922A #CCBB3B #D9CC6C #E5DD9C

Accessibility & contrast

On white

1.96
#CCBB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CCBB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB3B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB3B#FFFFFF#000000##000000
##CCBB3B1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB526
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#DCAEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccbb3b;
/* rgb */ color: rgb(204, 187, 59);
/* oklch */ color: oklch(78.4% 0.144 101.6);
Tailwind
colors: {
  custom: {
    50: '#dfcf79',
    500: '#ccbb3b',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb3b;
$custom-light: #dfcf79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb3b",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 52.966,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78396,
    "c": 0.14389,
    "h": 101.6
  },
  "luminance": 0.48694
}

Semantic roles & 50–950 ramp

primary
#CCBB3B
secondary
#9299D1
accent
#58E246
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CCBB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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