#C0CC3A#C0CC3A

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

Color values

HEX#C0CC3A
RGBrgb(192, 204, 58)
HSLhsl(65, 59%, 51%)
HSVhsv(65, 72%, 80%)
CMYKcmyk(5.9%, 0%, 71.6%, 20%)
CIE-LABlab(78.87, -21.84, 67.05)
CIE-LCHlch(78.87, 70.51, 108.04°)
OKLaboklab(81.03% -0.0667 0.1487)
OKLCHoklch(81.03% 0.163 114.2)
XYZxyz(44.0961, 54.6985, 12.2371)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC3A #463ACC
analogous
#CC8F3A #C0CC3A #77CC3A
triadic
#C0CC3A #3AC0CC #CC3AC0
tetradic
#C0CC3A #3ACC8F #463ACC #CC3A77
square
#C0CC3A #3ACC8F #463ACC #CC3A77
split-complementary
#C0CC3A #3A77CC #8F3ACC
monochromatic
#686F1D #96A029 #C0CC3A #D0D96B #DFE59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0CC3A#FFFFFF#000000##000000
##C0CC3A1.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)
#DBC21F
Deuteranopia (green-blind)
#DAC546
Tritanopia (blue-blind)
#CDC0B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc3a;
/* rgb */ color: rgb(192, 204, 58);
/* oklch */ color: oklch(81.0% 0.163 114.2);
Tailwind
colors: {
  custom: {
    50: '#d7db7a',
    500: '#c0cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc3a;
$custom-light: #d7db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc3a",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 64.932,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81033,
    "c": 0.16293,
    "h": 114.2
  },
  "luminance": 0.54698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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