#C6F251#C6F251

#C6F251 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.1% C 0.189 H 123.4°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#C6F251
RGBrgb(198, 242, 81)
HSLhsl(76, 86%, 63%)
HSVhsv(76, 67%, 95%)
CMYKcmyk(18.2%, 0%, 66.5%, 5.1%)
CIE-LABlab(89.91, -36.02, 69.88)
CIE-LCHlch(89.91, 78.61, 117.27°)
OKLaboklab(90.07% -0.1042 0.158)
OKLCHoklch(90.07% 0.189 123.4)
XYZxyz(56.5266, 76.1038, 19.4945)
Luminance0.7610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F251 #7D51F2
analogous
#F2CE51 #C6F251 #75F251
triadic
#C6F251 #51C6F2 #F251C6
tetradic
#C6F251 #51F2CE #7D51F2 #F25175
square
#C6F251 #51F2CE #7D51F2 #F25175
split-complementary
#C6F251 #5175F2 #CE51F2
monochromatic
#8BBB0E #B3EE18 #C6F251 #D9F68A #EBFBC3

Accessibility & contrast

On white

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

On black

16.22
#C6F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F251
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F251#FFFFFF#000000##000000
##C6F2511.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33A
Deuteranopia (green-blind)
#FAE25E
Tritanopia (blue-blind)
#CFE6D2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #c6f251;
/* rgb */ color: rgb(198, 242, 81);
/* oklch */ color: oklch(90.1% 0.189 123.4);
Tailwind
colors: {
  custom: {
    50: '#dbf68a',
    500: '#c6f251',
    950: '#000000',
  },
}
SCSS
$custom: #c6f251;
$custom-light: #dbf68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f251",
  "rgb": {
    "r": 198,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 76.398,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90069,
    "c": 0.18929,
    "h": 123.4
  },
  "luminance": 0.76104
}

Semantic roles & 50–950 ramp

primary
#C6F251
secondary
#542EB9
accent
#03E340
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C6F251

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

Preview Lab → · Contrast checker → · Palette generator →

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