#C4CC52#C4CC52

#C4CC52 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.5% C 0.145 H 112.7°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#C4CC52
RGBrgb(196, 204, 82)
HSLhsl(64, 54%, 56%)
HSVhsv(64, 60%, 80%)
CMYKcmyk(3.9%, 0%, 59.8%, 20%)
CIE-LABlab(79.35, -18.75, 58.23)
CIE-LCHlch(79.35, 61.18, 107.85°)
OKLaboklab(81.55% -0.0559 0.1336)
OKLCHoklch(81.55% 0.145 112.7)
XYZxyz(45.8819, 55.5316, 16.2827)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CC52 #5A52CC
analogous
#CC9752 #C4CC52 #87CC52
triadic
#C4CC52 #52C4CC #CC52C4
tetradic
#C4CC52 #52CC97 #5A52CC #CC5287
square
#C4CC52 #52CC97 #5A52CC #CC5287
split-complementary
#C4CC52 #5287CC #9752CC
monochromatic
#797E25 #A6AE33 #C4CC52 #D4DA81 #E4E8B1

Accessibility & contrast

On white

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

On black

12.11
#C4CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CC52
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CC52#FFFFFF#000000##000000
##C4CC521.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#D0C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c4cc52;
/* rgb */ color: rgb(196, 204, 82);
/* oklch */ color: oklch(81.5% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#d8db87',
    500: '#c4cc52',
    950: '#000000',
  },
}
SCSS
$custom: #c4cc52;
$custom-light: #d8db87;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cc52",
  "rgb": {
    "r": 196,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 63.934,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81548,
    "c": 0.14482,
    "h": 112.7
  },
  "luminance": 0.55531
}

Semantic roles & 50–950 ramp

primary
#C4CC52
secondary
#413C86
accent
#4ADE54
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C4CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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