#C6F978#C6F978

#C6F978 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.0% C 0.167 H 127.3°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#C6F978
RGBrgb(198, 249, 120)
HSLhsl(84, 91%, 72%)
HSVhsv(84, 52%, 98%)
CMYKcmyk(20.5%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.18, -36.07, 56.04)
CIE-LCHlch(92.18, 66.65, 122.76°)
OKLaboklab(92.02% -0.101 0.1328)
OKLCHoklch(92.02% 0.167 127.3)
XYZxyz(60.5543, 81.1123, 30.2316)
Luminance0.8111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F978 #AB78F9
analogous
#F9EB78 #C6F978 #86F978
triadic
#C6F978 #78C6F9 #F978C6
tetradic
#C6F978 #78F9EB #AB78F9 #F97886
square
#C6F978 #78F9EB #AB78F9 #F97886
split-complementary
#C6F978 #7886F9 #EB78F9
monochromatic
#93EC0A #ADF63D #C6F978 #DFFCB3 #F3FEE2

Accessibility & contrast

On white

1.22
#C6F978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#C6F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F978
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F978#FFFFFF#000000##000000
##C6F9781.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#CCEFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #c6f978;
/* rgb */ color: rgb(198, 249, 120);
/* oklch */ color: oklch(92.0% 0.167 127.3);
Tailwind
colors: {
  custom: {
    50: '#dafba2',
    500: '#c6f978',
    950: '#000000',
  },
}
SCSS
$custom: #c6f978;
$custom-light: #dafba2;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f978",
  "rgb": {
    "r": 198,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 83.721,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92016,
    "c": 0.16684,
    "h": 127.3
  },
  "luminance": 0.81113
}

Semantic roles & 50–950 ramp

primary
#C6F978
secondary
#7B40D5
accent
#00E65B
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #C6F978

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

Preview Lab → · Contrast checker → · Palette generator →

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