#C5CC52#C5CC52

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

Color values

HEX#C5CC52
RGBrgb(197, 204, 82)
HSLhsl(63, 54%, 56%)
HSVhsv(63, 60%, 80%)
CMYKcmyk(3.4%, 0%, 59.8%, 20%)
CIE-LABlab(79.42, -18.34, 58.34)
CIE-LCHlch(79.42, 61.15, 107.45°)
OKLaboklab(81.63% -0.0548 0.1338)
OKLCHoklch(81.63% 0.145 112.3)
XYZxyz(46.1430, 55.6662, 16.2949)
Luminance0.5566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5CC52 #5952CC
analogous
#CC9652 #C5CC52 #88CC52
triadic
#C5CC52 #52C5CC #CC52C5
tetradic
#C5CC52 #52CC96 #5952CC #CC5288
square
#C5CC52 #52CC96 #5952CC #CC5288
split-complementary
#C5CC52 #5288CC #9652CC
monochromatic
#797E25 #A7AE33 #C5CC52 #D5DA81 #E5E8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5CC52#FFFFFF#000000##000000
##C5CC521.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)
#DAC344
Deuteranopia (green-blind)
#DBC65A
Tritanopia (blue-blind)
#D1C1B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c5cc52;
/* rgb */ color: rgb(197, 204, 82);
/* oklch */ color: oklch(81.6% 0.145 112.3);
Tailwind
colors: {
  custom: {
    50: '#d9db87',
    500: '#c5cc52',
    950: '#000000',
  },
}
SCSS
$custom: #c5cc52;
$custom-light: #d9db87;
$custom-dark: #000000;
JSON
{
  "hex": "#c5cc52",
  "rgb": {
    "r": 197,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 63.443,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81628,
    "c": 0.14459,
    "h": 112.3
  },
  "luminance": 0.55665
}

Semantic roles & 50–950 ramp

primary
#C5CC52
secondary
#403C86
accent
#4ADE52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C5CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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