#C6F255#C6F255

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

Color values

HEX#C6F255
RGBrgb(198, 242, 85)
HSLhsl(77, 86%, 64%)
HSVhsv(77, 65%, 95%)
CMYKcmyk(18.2%, 0%, 64.9%, 5.1%)
CIE-LABlab(89.94, -35.76, 68.38)
CIE-LCHlch(89.94, 77.17, 117.61°)
OKLaboklab(90.1% -0.1032 0.1554)
OKLCHoklch(90.1% 0.187 123.6)
XYZxyz(56.6810, 76.1656, 20.3079)
Luminance0.7617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F255 #8155F2
analogous
#F2CF55 #C6F255 #78F255
triadic
#C6F255 #55C6F2 #F255C6
tetradic
#C6F255 #55F2CF #8155F2 #F25578
square
#C6F255 #55F2CF #8155F2 #F25578
split-complementary
#C6F255 #5578F2 #CF55F2
monochromatic
#8DBE0F #B3EE1C #C6F255 #D9F68E #ECFBC7

Accessibility & contrast

On white

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

On black

16.23
#C6F255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F255
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F255#FFFFFF#000000##000000
##C6F2551.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c6f255;
/* rgb */ color: rgb(198, 242, 85);
/* oklch */ color: oklch(90.1% 0.187 123.6);
Tailwind
colors: {
  custom: {
    50: '#dbf68c',
    500: '#c6f255',
    950: '#000000',
  },
}
SCSS
$custom: #c6f255;
$custom-light: #dbf68c;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f255",
  "rgb": {
    "r": 198,
    "g": 242,
    "b": 85
  },
  "hsl": {
    "h": 76.815,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90101,
    "c": 0.18654,
    "h": 123.6
  },
  "luminance": 0.76166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6F255

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

Preview Lab → · Contrast checker → · Palette generator →

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