#C6F262#C6F262

#C6F262 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.2% C 0.177 H 124.2°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#C6F262
RGBrgb(198, 242, 98)
HSLhsl(78, 85%, 67%)
HSVhsv(78, 60%, 95%)
CMYKcmyk(18.2%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.04, -34.82, 63.23)
CIE-LCHlch(90.04, 72.19, 118.84°)
OKLaboklab(90.22% -0.0994 0.1461)
OKLCHoklch(90.22% 0.177 124.2)
XYZxyz(57.2457, 76.3914, 23.2820)
Luminance0.7639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F262 #8E62F2
analogous
#F2D662 #C6F262 #7EF262
triadic
#C6F262 #62C6F2 #F262C6
tetradic
#C6F262 #62F2D6 #8E62F2 #F2627E
square
#C6F262 #62F2D6 #8E62F2 #F2627E
split-complementary
#C6F262 #627EF2 #D662F2
monochromatic
#91C911 #B1ED29 #C6F262 #DBF79B #EFFBD3

Accessibility & contrast

On white

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

On black

16.28
#C6F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F262
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F262#FFFFFF#000000##000000
##C6F2621.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#F9E26C
Tritanopia (blue-blind)
#CEE7D3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c6f262;
/* rgb */ color: rgb(198, 242, 98);
/* oklch */ color: oklch(90.2% 0.177 124.2);
Tailwind
colors: {
  custom: {
    50: '#daf694',
    500: '#c6f262',
    950: '#000000',
  },
}
SCSS
$custom: #c6f262;
$custom-light: #daf694;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f262",
  "rgb": {
    "r": 198,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 78.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90219,
    "c": 0.17674,
    "h": 124.2
  },
  "luminance": 0.76392
}

Semantic roles & 50–950 ramp

primary
#C6F262
secondary
#5F33C6
accent
#04E148
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #C6F262

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

Preview Lab → · Contrast checker → · Palette generator →

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