#C6F266#C6F266

#C6F266 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.3% C 0.173 H 124.5°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#C6F266
RGBrgb(198, 242, 102)
HSLhsl(79, 84%, 67%)
HSVhsv(79, 58%, 95%)
CMYKcmyk(18.2%, 0%, 57.9%, 5.1%)
CIE-LABlab(90.08, -34.50, 61.57)
CIE-LCHlch(90.08, 70.58, 119.26°)
OKLaboklab(90.26% -0.0982 0.143)
OKLCHoklch(90.26% 0.173 124.5)
XYZxyz(57.4393, 76.4689, 24.3017)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F266 #9266F2
analogous
#F2D866 #C6F266 #80F266
triadic
#C6F266 #66C6F2 #F266C6
tetradic
#C6F266 #66F2D8 #9266F2 #F26680
square
#C6F266 #66F2D8 #9266F2 #F26680
split-complementary
#C6F266 #6680F2 #D866F2
monochromatic
#92CC11 #B1ED2E #C6F266 #DBF79E #F0FCD7

Accessibility & contrast

On white

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

On black

16.29
#C6F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F266
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F266#FFFFFF#000000##000000
##C6F2661.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F8E26F
Tritanopia (blue-blind)
#CEE7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #c6f266;
/* rgb */ color: rgb(198, 242, 102);
/* oklch */ color: oklch(90.3% 0.173 124.5);
Tailwind
colors: {
  custom: {
    50: '#daf696',
    500: '#c6f266',
    950: '#000000',
  },
}
SCSS
$custom: #c6f266;
$custom-light: #daf696;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f266",
  "rgb": {
    "r": 198,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 78.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9026,
    "c": 0.17348,
    "h": 124.5
  },
  "luminance": 0.76469
}

Semantic roles & 50–950 ramp

primary
#C6F266
secondary
#6234C9
accent
#05E14A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #C6F266

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

Preview Lab → · Contrast checker → · Palette generator →

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