#C0CC52#C0CC52

#C0CC52 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.2% C 0.146 H 114.4°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#C0CC52
RGBrgb(192, 204, 82)
HSLhsl(66, 54%, 56%)
HSVhsv(66, 60%, 80%)
CMYKcmyk(5.9%, 0%, 59.8%, 20%)
CIE-LABlab(79.04, -20.39, 57.81)
CIE-LCHlch(79.04, 61.30, 109.42°)
OKLaboklab(81.23% -0.0602 0.1328)
OKLCHoklch(81.23% 0.146 114.4)
XYZxyz(44.8551, 55.0021, 16.2346)
Luminance0.5500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC52 #5E52CC
analogous
#CC9B52 #C0CC52 #83CC52
triadic
#C0CC52 #52C0CC #CC52C0
tetradic
#C0CC52 #52CC9B #5E52CC #CC5283
square
#C0CC52 #52CC9B #5E52CC #CC5283
split-complementary
#C0CC52 #5283CC #9B52CC
monochromatic
#767E25 #A2AE33 #C0CC52 #D1DA81 #E2E8B1

Accessibility & contrast

On white

1.75
#C0CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#C0CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC52
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC52#FFFFFF#000000##000000
##C0CC521.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#CBC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cc52;
/* rgb */ color: rgb(192, 204, 82);
/* oklch */ color: oklch(81.2% 0.146 114.4);
Tailwind
colors: {
  custom: {
    50: '#d6db87',
    500: '#c0cc52',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc52;
$custom-light: #d6db87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc52",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 65.902,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81229,
    "c": 0.14583,
    "h": 114.4
  },
  "luminance": 0.55001
}

Semantic roles & 50–950 ramp

primary
#C0CC52
secondary
#433C86
accent
#4ADE59
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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