#C6EC5F#C6EC5F

#C6EC5F is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.9% C 0.172 H 122.7°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#C6EC5F
RGBrgb(198, 236, 95)
HSLhsl(76, 79%, 65%)
HSVhsv(76, 60%, 93%)
CMYKcmyk(16.1%, 0%, 59.7%, 7.5%)
CIE-LABlab(88.36, -32.30, 62.64)
CIE-LCHlch(88.36, 70.48, 117.28°)
OKLaboklab(88.86% -0.0927 0.1445)
OKLCHoklch(88.86% 0.172 122.7)
XYZxyz(55.3502, 72.8227, 21.9645)
Luminance0.7282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6EC5F #855FEC
analogous
#ECCB5F #C6EC5F #80EC5F
triadic
#C6EC5F #5FC6EC #EC5FC6
tetradic
#C6EC5F #5FECCB #855FEC #EC5F80
square
#C6EC5F #5FECCB #855FEC #EC5F80
split-complementary
#C6EC5F #5F80EC #CB5FEC
monochromatic
#8EBA16 #B3E628 #C6EC5F #D9F296 #EDF9CC

Accessibility & contrast

On white

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

On black

15.56
#C6EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6EC5F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6EC5F#FFFFFF#000000##000000
##C6EC5F1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6ec5f;
/* rgb */ color: rgb(198, 236, 95);
/* oklch */ color: oklch(88.9% 0.172 122.7);
Tailwind
colors: {
  custom: {
    50: '#daf292',
    500: '#c6ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #c6ec5f;
$custom-light: #daf292;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ec5f",
  "rgb": {
    "r": 198,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 76.17,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88858,
    "c": 0.17169,
    "h": 122.7
  },
  "luminance": 0.72823
}

Semantic roles & 50–950 ramp

primary
#C6EC5F
secondary
#5936BA
accent
#0ADB43
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C6EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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