#C0CC3C#C0CC3C

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

Color values

HEX#C0CC3C
RGBrgb(192, 204, 60)
HSLhsl(65, 59%, 52%)
HSVhsv(65, 71%, 80%)
CMYKcmyk(5.9%, 0%, 70.6%, 20%)
CIE-LABlab(78.88, -21.74, 66.36)
CIE-LCHlch(78.88, 69.83, 108.14°)
OKLaboklab(81.05% -0.0662 0.1475)
OKLCHoklch(81.05% 0.162 114.2)
XYZxyz(44.1480, 54.7193, 12.5103)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC3C #483CCC
analogous
#CC903C #C0CC3C #78CC3C
triadic
#C0CC3C #3CC0CC #CC3CC0
tetradic
#C0CC3C #3CCC90 #483CCC #CC3C78
square
#C0CC3C #3CCC90 #483CCC #CC3C78
split-complementary
#C0CC3C #3C78CC #903CCC
monochromatic
#69701D #97A12A #C0CC3C #D0D96D #DFE59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CC3C#FFFFFF#000000##000000
##C0CC3C1.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)
#DBC223
Deuteranopia (green-blind)
#DAC547
Tritanopia (blue-blind)
#CDC0B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc3c;
/* rgb */ color: rgb(192, 204, 60);
/* oklch */ color: oklch(81.0% 0.162 114.2);
Tailwind
colors: {
  custom: {
    50: '#d6db7b',
    500: '#c0cc3c',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc3c;
$custom-light: #d6db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc3c",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 65,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81046,
    "c": 0.16172,
    "h": 114.2
  },
  "luminance": 0.54718
}

Semantic roles & 50–950 ramp

primary
#C0CC3C
secondary
#393379
accent
#46E253
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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