#CCCA51#CCCA51

#CCCA51 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.142 H 108.3°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CCCA51
RGBrgb(204, 202, 81)
HSLhsl(59, 55%, 56%)
HSVhsv(59, 60%, 80%)
CMYKcmyk(0%, 1%, 60.3%, 20%)
CIE-LABlab(79.43, -14.52, 58.93)
CIE-LCHlch(79.43, 60.69, 103.84°)
OKLaboklab(81.76% -0.0445 0.1348)
OKLCHoklch(81.76% 0.142 108.3)
XYZxyz(47.5091, 55.6739, 16.0265)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA51 #5153CC
analogous
#CC8C51 #CCCA51 #90CC51
triadic
#CCCA51 #51CCCA #CA51CC
tetradic
#CCCA51 #51CC8C #5153CC #CC5190
square
#CCCA51 #51CC8C #5153CC #CC5190
split-complementary
#CCCA51 #5190CC #8C51CC
monochromatic
#7E7C25 #ADAB33 #CCCA51 #DAD880 #E8E7B0

Accessibility & contrast

On white

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

On black

12.13
#CCCA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA51
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA51#FFFFFF#000000##000000
##CCCA511.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca51;
/* rgb */ color: rgb(204, 202, 81);
/* oklch */ color: oklch(81.8% 0.142 108.3);
Tailwind
colors: {
  custom: {
    50: '#ded987',
    500: '#ccca51',
    950: '#000000',
  },
}
SCSS
$custom: #ccca51;
$custom-light: #ded987;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca51",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 59.024,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81764,
    "c": 0.14194,
    "h": 108.3
  },
  "luminance": 0.55673
}

Semantic roles & 50–950 ramp

primary
#CCCA51
secondary
#3C3D86
accent
#4CDE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CCCA51

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

Preview Lab → · Contrast checker → · Palette generator →

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