#CCC259#CCC259

#CCC259 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.127 H 103.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CCC259
RGBrgb(204, 194, 89)
HSLhsl(55, 53%, 57%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.9%, 56.4%, 20%)
CIE-LABlab(77.37, -9.88, 53.09)
CIE-LCHlch(77.37, 54.00, 100.55°)
OKLaboklab(80.15% -0.0304 0.1233)
OKLCHoklch(80.15% 0.127 103.9)
XYZxyz(45.9983, 52.1438, 17.0910)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC259 #5963CC
analogous
#CC8959 #CCC259 #9CCC59
triadic
#CCC259 #59CCC2 #C259CC
tetradic
#CCC259 #59CC89 #5963CC #CC599C
square
#CCC259 #59CC89 #5963CC #CC599C
split-complementary
#CCC259 #599CCC #8959CC
monochromatic
#837B28 #B1A736 #CCC259 #DAD388 #E9E4B7

Accessibility & contrast

On white

1.84
#CCC259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CCC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC259
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC259#FFFFFF#000000##000000
##CCC2591.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc259;
/* rgb */ color: rgb(204, 194, 89);
/* oklch */ color: oklch(80.1% 0.127 103.9);
Tailwind
colors: {
  custom: {
    50: '#ded48b',
    500: '#ccc259',
    950: '#000000',
  },
}
SCSS
$custom: #ccc259;
$custom-light: #ded48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc259",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 54.783,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80148,
    "c": 0.12703,
    "h": 103.9
  },
  "luminance": 0.52142
}

Semantic roles & 50–950 ramp

primary
#CCC259
secondary
#3F468A
accent
#58DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC259

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

Preview Lab → · Contrast checker → · Palette generator →

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