#CCBB59#CCBB59

#CCBB59 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.7% C 0.120 H 99.6°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#CCBB59
RGBrgb(204, 187, 89)
HSLhsl(51, 53%, 57%)
HSVhsv(51, 56%, 80%)
CMYKcmyk(0%, 8.3%, 56.4%, 20%)
CIE-LABlab(75.51, -6.28, 50.97)
CIE-LCHlch(75.51, 51.36, 97.02°)
OKLaboklab(78.68% -0.0201 0.1188)
OKLCHoklch(78.68% 0.12 99.6)
XYZxyz(44.4769, 49.1011, 16.5839)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBB59 #596ACC
analogous
#CC8159 #CCBB59 #A4CC59
triadic
#CCBB59 #59CCBB #BB59CC
tetradic
#CCBB59 #59CC81 #596ACC #CC59A4
square
#CCBB59 #59CC81 #596ACC #CC59A4
split-complementary
#CCBB59 #59A4CC #8159CC
monochromatic
#837528 #B19F36 #CCBB59 #DACE88 #E9E1B7

Accessibility & contrast

On white

1.94
#CCBB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#CCBB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBB59
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBB59#FFFFFF#000000##000000
##CCBB591.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB64F
Deuteranopia (green-blind)
#CFBD5E
Tritanopia (blue-blind)
#DAAFA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccbb59;
/* rgb */ color: rgb(204, 187, 89);
/* oklch */ color: oklch(78.7% 0.120 99.6);
Tailwind
colors: {
  custom: {
    50: '#decf8b',
    500: '#ccbb59',
    950: '#000000',
  },
}
SCSS
$custom: #ccbb59;
$custom-light: #decf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbb59",
  "rgb": {
    "r": 204,
    "g": 187,
    "b": 89
  },
  "hsl": {
    "h": 51.13,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78677,
    "c": 0.12047,
    "h": 99.6
  },
  "luminance": 0.49099
}

Semantic roles & 50–950 ramp

primary
#CCBB59
secondary
#A9B0D8
accent
#61DC4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CCBB59

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

Preview Lab → · Contrast checker → · Palette generator →

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