#C0CC51#C0CC51

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

Color values

HEX#C0CC51
RGBrgb(192, 204, 81)
HSLhsl(66, 55%, 56%)
HSVhsv(66, 60%, 80%)
CMYKcmyk(5.9%, 0%, 60.3%, 20%)
CIE-LABlab(79.03, -20.46, 58.23)
CIE-LCHlch(79.03, 61.72, 109.36°)
OKLaboklab(81.22% -0.0606 0.1336)
OKLCHoklch(81.22% 0.147 114.4)
XYZxyz(44.8173, 54.9870, 16.0356)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC51 #5D51CC
analogous
#CC9A51 #C0CC51 #82CC51
triadic
#C0CC51 #51C0CC #CC51C0
tetradic
#C0CC51 #51CC9A #5D51CC #CC5182
square
#C0CC51 #51CC9A #5D51CC #CC5182
split-complementary
#C0CC51 #5182CC #9A51CC
monochromatic
#757E25 #A1AD33 #C0CC51 #D1DA80 #E2E8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CC51#FFFFFF#000000##000000
##C0CC511.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)
#DAC343
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#CCC1B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cc51;
/* rgb */ color: rgb(192, 204, 81);
/* oklch */ color: oklch(81.2% 0.147 114.4);
Tailwind
colors: {
  custom: {
    50: '#d6db87',
    500: '#c0cc51',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc51;
$custom-light: #d6db87;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc51",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 65.854,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8122,
    "c": 0.14665,
    "h": 114.4
  },
  "luminance": 0.54986
}

Semantic roles & 50–950 ramp

primary
#C0CC51
secondary
#433C86
accent
#4ADE58
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C0CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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