#C6F158#C6F158

#C6F158 is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 89.9% C 0.183 H 123.5°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#C6F158
RGBrgb(198, 241, 88)
HSLhsl(77, 85%, 65%)
HSVhsv(77, 63%, 95%)
CMYKcmyk(17.8%, 0%, 63.5%, 5.5%)
CIE-LABlab(89.68, -35.10, 66.93)
CIE-LCHlch(89.68, 75.58, 117.68°)
OKLaboklab(89.9% -0.1011 0.1528)
OKLCHoklch(89.9% 0.183 123.5)
XYZxyz(56.5059, 75.6206, 20.8500)
Luminance0.7562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F158 #8358F1
analogous
#F1D058 #C6F158 #7AF158
triadic
#C6F158 #58C6F1 #F158C6
tetradic
#C6F158 #58F1D0 #8358F1 #F1587A
square
#C6F158 #58F1D0 #8358F1 #F1587A
split-complementary
#C6F158 #587AF1 #D058F1
monochromatic
#8EBF10 #B3EC20 #C6F158 #D9F690 #EDFAC9

Accessibility & contrast

On white

1.30
#C6F158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#C6F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F158
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F158#FFFFFF#000000##000000
##C6F1581.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE344
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#CFE6D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c6f158;
/* rgb */ color: rgb(198, 241, 88);
/* oklch */ color: oklch(89.9% 0.183 123.5);
Tailwind
colors: {
  custom: {
    50: '#daf58e',
    500: '#c6f158',
    950: '#000000',
  },
}
SCSS
$custom: #c6f158;
$custom-light: #daf58e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f158",
  "rgb": {
    "r": 198,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 76.863,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89904,
    "c": 0.18318,
    "h": 123.5
  },
  "luminance": 0.75621
}

Semantic roles & 50–950 ramp

primary
#C6F158
secondary
#5830BD
accent
#05E142
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C6F158

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

Preview Lab → · Contrast checker → · Palette generator →

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