#C0CC39#C0CC39

#C0CC39 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.0% C 0.164 H 114.1°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C0CC39
RGBrgb(192, 204, 57)
HSLhsl(65, 59%, 51%)
HSVhsv(65, 72%, 80%)
CMYKcmyk(5.9%, 0%, 72.1%, 20%)
CIE-LABlab(78.86, -21.89, 67.39)
CIE-LCHlch(78.86, 70.85, 107.99°)
OKLaboklab(81.03% -0.0669 0.1492)
OKLCHoklch(81.03% 0.164 114.1)
XYZxyz(44.0709, 54.6885, 12.1044)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC39 #4539CC
analogous
#CC8E39 #C0CC39 #76CC39
triadic
#C0CC39 #39C0CC #CC39C0
tetradic
#C0CC39 #39CC8E #4539CC #CC3976
square
#C0CC39 #39CC8E #4539CC #CC3976
split-complementary
#C0CC39 #3976CC #8E39CC
monochromatic
#686E1C #959F29 #C0CC39 #CFD96A #DFE59A

Accessibility & contrast

On white

1.76
#C0CC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C0CC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC39
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC39#FFFFFF#000000##000000
##C0CC391.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21C
Deuteranopia (green-blind)
#DAC545
Tritanopia (blue-blind)
#CDC0B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc39;
/* rgb */ color: rgb(192, 204, 57);
/* oklch */ color: oklch(81.0% 0.164 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7db7a',
    500: '#c0cc39',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc39;
$custom-light: #d7db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc39",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 64.898,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81026,
    "c": 0.16353,
    "h": 114.1
  },
  "luminance": 0.54688
}

Semantic roles & 50–950 ramp

primary
#C0CC39
secondary
#373278
accent
#46E252
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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