#C6F04F#C6F04F

#C6F04F is a very light, vivid yellow-green. Relative luminance 0.749; OKLCH L 89.6% C 0.188 H 122.9°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#C6F04F
RGBrgb(198, 240, 79)
HSLhsl(76, 84%, 63%)
HSVhsv(76, 67%, 94%)
CMYKcmyk(17.5%, 0%, 67.1%, 5.9%)
CIE-LABlab(89.34, -35.24, 70.04)
CIE-LCHlch(89.34, 78.41, 116.71°)
OKLaboklab(89.61% -0.1023 0.1581)
OKLCHoklch(89.61% 0.188 122.9)
XYZxyz(55.8607, 74.8902, 18.9080)
Luminance0.7489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F04F #794FF0
analogous
#F0C94F #C6F04F #76F04F
triadic
#C6F04F #4FC6F0 #F04FC6
tetradic
#C6F04F #4FF0C9 #794FF0 #F04F76
square
#C6F04F #4FF0C9 #794FF0 #F04F76
split-complementary
#C6F04F #4F76F0 #C94FF0
monochromatic
#8AB50F #B4EB17 #C6F04F #D8F587 #EBFAC0

Accessibility & contrast

On white

1.31
#C6F04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#C6F04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6F04F
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6F04F#FFFFFF#000000##000000
##C6F04F1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE237
Deuteranopia (green-blind)
#F8E05C
Tritanopia (blue-blind)
#D0E4D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #c6f04f;
/* rgb */ color: rgb(198, 240, 79);
/* oklch */ color: oklch(89.6% 0.188 122.9);
Tailwind
colors: {
  custom: {
    50: '#dbf589',
    500: '#c6f04f',
    950: '#000000',
  },
}
SCSS
$custom: #c6f04f;
$custom-light: #dbf589;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f04f",
  "rgb": {
    "r": 198,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 75.652,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89608,
    "c": 0.18827,
    "h": 122.9
  },
  "luminance": 0.7489
}

Semantic roles & 50–950 ramp

primary
#C6F04F
secondary
#522FB5
accent
#05E13E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C6F04F

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

Preview Lab → · Contrast checker → · Palette generator →

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