#C6EC5C#C6EC5C

#C6EC5C is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.8% C 0.174 H 122.5°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#C6EC5C
RGBrgb(198, 236, 92)
HSLhsl(76, 79%, 64%)
HSVhsv(76, 61%, 93%)
CMYKcmyk(16.1%, 0%, 61%, 7.5%)
CIE-LABlab(88.34, -32.53, 63.86)
CIE-LCHlch(88.34, 71.67, 116.99°)
OKLaboklab(88.83% -0.0936 0.1468)
OKLCHoklch(88.83% 0.174 122.5)
XYZxyz(55.2164, 72.7692, 21.2601)
Luminance0.7277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6EC5C #825CEC
analogous
#ECCA5C #C6EC5C #7EEC5C
triadic
#C6EC5C #5CC6EC #EC5CC6
tetradic
#C6EC5C #5CECCA #825CEC #EC5C7E
square
#C6EC5C #5CECCA #825CEC #EC5C7E
split-complementary
#C6EC5C #5C7EEC #CA5CEC
monochromatic
#8DB815 #B3E625 #C6EC5C #D9F293 #ECF9CA

Accessibility & contrast

On white

1.35
#C6EC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#C6EC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6EC5C
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6EC5C#FFFFFF#000000##000000
##C6EC5C1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF4B
Deuteranopia (green-blind)
#F4DE66
Tritanopia (blue-blind)
#CFE1CE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c6ec5c;
/* rgb */ color: rgb(198, 236, 92);
/* oklch */ color: oklch(88.8% 0.174 122.5);
Tailwind
colors: {
  custom: {
    50: '#daf290',
    500: '#c6ec5c',
    950: '#000000',
  },
}
SCSS
$custom: #c6ec5c;
$custom-light: #daf290;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ec5c",
  "rgb": {
    "r": 198,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 75.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.88829,
    "c": 0.17406,
    "h": 122.5
  },
  "luminance": 0.72769
}

Semantic roles & 50–950 ramp

primary
#C6EC5C
secondary
#5735B8
accent
#0ADB41
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C6EC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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