#C6F256#C6F256

#C6F256 is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 90.1% C 0.186 H 123.6°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#C6F256
RGBrgb(198, 242, 86)
HSLhsl(77, 86%, 64%)
HSVhsv(77, 64%, 95%)
CMYKcmyk(18.2%, 0%, 64.5%, 5.1%)
CIE-LABlab(89.94, -35.70, 68.00)
CIE-LCHlch(89.94, 76.80, 117.70°)
OKLaboklab(90.11% -0.1029 0.1547)
OKLCHoklch(90.11% 0.186 123.6)
XYZxyz(56.7210, 76.1816, 20.5186)
Luminance0.7618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F256 #8256F2
analogous
#F2D056 #C6F256 #78F256
triadic
#C6F256 #56C6F2 #F256C6
tetradic
#C6F256 #56F2D0 #8256F2 #F25678
square
#C6F256 #56F2D0 #8256F2 #F25678
split-complementary
#C6F256 #5678F2 #D056F2
monochromatic
#8DBF0F #B3EE1D #C6F256 #D9F68F #ECFBC8

Accessibility & contrast

On white

1.29
#C6F256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#C6F256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F256
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F256#FFFFFF#000000##000000
##C6F2561.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE441
Deuteranopia (green-blind)
#F9E262
Tritanopia (blue-blind)
#CFE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c6f256;
/* rgb */ color: rgb(198, 242, 86);
/* oklch */ color: oklch(90.1% 0.186 123.6);
Tailwind
colors: {
  custom: {
    50: '#dbf68d',
    500: '#c6f256',
    950: '#000000',
  },
}
SCSS
$custom: #c6f256;
$custom-light: #dbf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f256",
  "rgb": {
    "r": 198,
    "g": 242,
    "b": 86
  },
  "hsl": {
    "h": 76.923,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.9011,
    "c": 0.18583,
    "h": 123.6
  },
  "luminance": 0.76182
}

Semantic roles & 50–950 ramp

primary
#C6F256
secondary
#572FBD
accent
#03E242
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C6F256

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

Preview Lab → · Contrast checker → · Palette generator →

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