#CCC559#CCC559

#CCC559 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.130 H 105.5°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CCC559
RGBrgb(204, 197, 89)
HSLhsl(56, 53%, 57%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.4%, 56.4%, 20%)
CIE-LABlab(78.16, -11.42, 54.00)
CIE-LCHlch(78.16, 55.19, 101.94°)
OKLaboklab(80.78% -0.0348 0.1253)
OKLCHoklch(80.78% 0.13 105.5)
XYZxyz(46.6727, 53.4926, 17.3158)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC559 #5960CC
analogous
#CC8C59 #CCC559 #99CC59
triadic
#CCC559 #59CCC5 #C559CC
tetradic
#CCC559 #59CC8C #5960CC #CC5999
square
#CCC559 #59CC8C #5960CC #CC5999
split-complementary
#CCC559 #5999CC #8C59CC
monochromatic
#837D28 #B1AA36 #CCC559 #DAD588 #E9E6B7

Accessibility & contrast

On white

1.80
#CCC559 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CCC559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC559
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC559#FFFFFF#000000##000000
##CCC5591.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4E
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#D9B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc559;
/* rgb */ color: rgb(204, 197, 89);
/* oklch */ color: oklch(80.8% 0.130 105.5);
Tailwind
colors: {
  custom: {
    50: '#ded68b',
    500: '#ccc559',
    950: '#000000',
  },
}
SCSS
$custom: #ccc559;
$custom-light: #ded68b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc559",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 89
  },
  "hsl": {
    "h": 56.348,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80782,
    "c": 0.13002,
    "h": 105.5
  },
  "luminance": 0.53491
}

Semantic roles & 50–950 ramp

primary
#CCC559
secondary
#3F448A
accent
#54DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC559

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

Preview Lab → · Contrast checker → · Palette generator →

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