#C6F258#C6F258

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

Color values

HEX#C6F258
RGBrgb(198, 242, 88)
HSLhsl(77, 86%, 65%)
HSVhsv(77, 64%, 95%)
CMYKcmyk(18.2%, 0%, 63.6%, 5.1%)
CIE-LABlab(89.96, -35.56, 67.23)
CIE-LCHlch(89.96, 76.05, 117.88°)
OKLaboklab(90.13% -0.1024 0.1534)
OKLCHoklch(90.13% 0.184 123.7)
XYZxyz(56.8027, 76.2142, 20.9489)
Luminance0.7621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F258 #8458F2
analogous
#F2D158 #C6F258 #79F258
triadic
#C6F258 #58C6F2 #F258C6
tetradic
#C6F258 #58F2D1 #8458F2 #F25879
square
#C6F258 #58F2D1 #8458F2 #F25879
split-complementary
#C6F258 #5879F2 #D158F2
monochromatic
#8EC10F #B3EE1F #C6F258 #D9F691 #EDFBCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6F258#FFFFFF#000000##000000
##C6F2581.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)
#FFE444
Deuteranopia (green-blind)
#F9E263
Tritanopia (blue-blind)
#CFE7D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c6f258;
/* rgb */ color: rgb(198, 242, 88);
/* oklch */ color: oklch(90.1% 0.184 123.7);
Tailwind
colors: {
  custom: {
    50: '#daf68e',
    500: '#c6f258',
    950: '#000000',
  },
}
SCSS
$custom: #c6f258;
$custom-light: #daf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f258",
  "rgb": {
    "r": 198,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 77.143,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90127,
    "c": 0.18439,
    "h": 123.7
  },
  "luminance": 0.76215
}

Semantic roles & 50–950 ramp

primary
#C6F258
secondary
#5930BE
accent
#03E243
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #C6F258

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

Preview Lab → · Contrast checker → · Palette generator →

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