#CCBC59#CCBC59

#CCBC59 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.9% C 0.121 H 100.2°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CCBC59
RGBrgb(204, 188, 89)
HSLhsl(52, 53%, 57%)
HSVhsv(52, 56%, 80%)
CMYKcmyk(0%, 7.8%, 56.4%, 20%)
CIE-LABlab(75.78, -6.79, 51.28)
CIE-LCHlch(75.78, 51.73, 97.55°)
OKLaboklab(78.89% -0.0216 0.1194)
OKLCHoklch(78.89% 0.121 100.2)
XYZxyz(44.6898, 49.5268, 16.6549)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC59 #5969CC
analogous
#CC8259 #CCBC59 #A3CC59
triadic
#CCBC59 #59CCBC #BC59CC
tetradic
#CCBC59 #59CC82 #5969CC #CC59A3
square
#CCBC59 #59CC82 #5969CC #CC59A3
split-complementary
#CCBC59 #59A3CC #8259CC
monochromatic
#837628 #B1A036 #CCBC59 #DACF88 #E9E2B7

Accessibility & contrast

On white

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

On black

10.91
#CCBC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC59
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC59#FFFFFF#000000##000000
##CCBC591.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74F
Deuteranopia (green-blind)
#D0BE5E
Tritanopia (blue-blind)
#DAB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #ccbc59;
/* rgb */ color: rgb(204, 188, 89);
/* oklch */ color: oklch(78.9% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#decf8b',
    500: '#ccbc59',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc59;
$custom-light: #decf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc59",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 89
  },
  "hsl": {
    "h": 51.652,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78886,
    "c": 0.12137,
    "h": 100.2
  },
  "luminance": 0.49525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCBC59

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

Preview Lab → · Contrast checker → · Palette generator →

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