#C0CC3E#C0CC3E

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

Color values

HEX#C0CC3E
RGBrgb(192, 204, 62)
HSLhsl(65, 58%, 52%)
HSVhsv(65, 70%, 80%)
CMYKcmyk(5.9%, 0%, 69.6%, 20%)
CIE-LABlab(78.89, -21.64, 65.65)
CIE-LCHlch(78.89, 69.12, 108.24°)
OKLaboklab(81.06% -0.0657 0.1464)
OKLCHoklch(81.06% 0.16 114.2)
XYZxyz(44.2018, 54.7408, 12.7940)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC3E #4A3ECC
analogous
#CC913E #C0CC3E #79CC3E
triadic
#C0CC3E #3EC0CC #CC3EC0
tetradic
#C0CC3E #3ECC91 #4A3ECC #CC3E79
square
#C0CC3E #3ECC91 #4A3ECC #CC3E79
split-complementary
#C0CC3E #3E79CC #913ECC
monochromatic
#6B721E #98A22B #C0CC3E #D0D96E #E0E69F

Accessibility & contrast

On white

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

On black

11.95
#C0CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC3E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC3E#FFFFFF#000000##000000
##C0CC3E1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC226
Deuteranopia (green-blind)
#DAC549
Tritanopia (blue-blind)
#CCC0B0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc3e;
/* rgb */ color: rgb(192, 204, 62);
/* oklch */ color: oklch(81.1% 0.160 114.2);
Tailwind
colors: {
  custom: {
    50: '#d6db7c',
    500: '#c0cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc3e;
$custom-light: #d6db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc3e",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 65.07,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8106,
    "c": 0.16046,
    "h": 114.2
  },
  "luminance": 0.5474
}

Semantic roles & 50–950 ramp

primary
#C0CC3E
secondary
#3A347B
accent
#46E153
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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