#C6F04E#C6F04E

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

Color values

HEX#C6F04E
RGBrgb(198, 240, 78)
HSLhsl(76, 84%, 62%)
HSVhsv(76, 68%, 94%)
CMYKcmyk(17.5%, 0%, 67.5%, 5.9%)
CIE-LABlab(89.33, -35.30, 70.41)
CIE-LCHlch(89.33, 78.76, 116.63°)
OKLaboklab(89.6% -0.1025 0.1587)
OKLCHoklch(89.6% 0.189 122.9)
XYZxyz(55.8246, 74.8758, 18.7177)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6F04E #784EF0
analogous
#F0C94E #C6F04E #75F04E
triadic
#C6F04E #4EC6F0 #F04EC6
tetradic
#C6F04E #4EF0C9 #784EF0 #F04E75
square
#C6F04E #4EF0C9 #784EF0 #F04E75
split-complementary
#C6F04E #4E75F0 #C94EF0
monochromatic
#8AB40F #B4EB16 #C6F04E #D8F586 #EAFABF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6F04E#FFFFFF#000000##000000
##C6F04E1.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)
#FEE235
Deuteranopia (green-blind)
#F8E05B
Tritanopia (blue-blind)
#D0E4D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #c6f04e;
/* rgb */ color: rgb(198, 240, 78);
/* oklch */ color: oklch(89.6% 0.189 122.9);
Tailwind
colors: {
  custom: {
    50: '#dbf588',
    500: '#c6f04e',
    950: '#000000',
  },
}
SCSS
$custom: #c6f04e;
$custom-light: #dbf588;
$custom-dark: #000000;
JSON
{
  "hex": "#c6f04e",
  "rgb": {
    "r": 198,
    "g": 240,
    "b": 78
  },
  "hsl": {
    "h": 75.556,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.896,
    "c": 0.18893,
    "h": 122.9
  },
  "luminance": 0.74876
}

Semantic roles & 50–950 ramp

primary
#C6F04E
secondary
#512EB4
accent
#05E13E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C6F04E

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

Preview Lab → · Contrast checker → · Palette generator →

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