#CCCA59#CCCA59

#CCCA59 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.135 H 108.1°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CCCA59
RGBrgb(204, 202, 89)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 1%, 56.4%, 20%)
CIE-LABlab(79.50, -13.95, 55.50)
CIE-LCHlch(79.50, 57.23, 104.11°)
OKLaboklab(81.85% -0.042 0.1285)
OKLCHoklch(81.85% 0.135 108.1)
XYZxyz(47.8269, 55.8010, 17.7006)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA59 #595BCC
analogous
#CC9159 #CCCA59 #94CC59
triadic
#CCCA59 #59CCCA #CA59CC
tetradic
#CCCA59 #59CC91 #595BCC #CC5994
square
#CCCA59 #59CC91 #595BCC #CC5994
split-complementary
#CCCA59 #5994CC #9159CC
monochromatic
#838128 #B1AF36 #CCCA59 #DAD988 #E9E8B7

Accessibility & contrast

On white

1.73
#CCCA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#CCCA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA59
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA59#FFFFFF#000000##000000
##CCCA591.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34D
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#D9BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca59;
/* rgb */ color: rgb(204, 202, 89);
/* oklch */ color: oklch(81.8% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded98c',
    500: '#ccca59',
    950: '#000000',
  },
}
SCSS
$custom: #ccca59;
$custom-light: #ded98c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca59",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 58.957,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81845,
    "c": 0.1352,
    "h": 108.1
  },
  "luminance": 0.558
}

Semantic roles & 50–950 ramp

primary
#CCCA59
secondary
#3F418A
accent
#4EDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCCA59

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

Preview Lab → · Contrast checker → · Palette generator →

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