#C7F04E#C7F04E

#C7F04E is a very light, vivid yellow-green. Relative luminance 0.750; OKLCH L 89.7% C 0.189 H 122.6°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#C7F04E
RGBrgb(199, 240, 78)
HSLhsl(75, 84%, 62%)
HSVhsv(75, 68%, 94%)
CMYKcmyk(17.1%, 0%, 67.5%, 5.9%)
CIE-LABlab(89.40, -34.92, 70.49)
CIE-LCHlch(89.40, 78.67, 116.35°)
OKLaboklab(89.67% -0.1015 0.1589)
OKLCHoklch(89.67% 0.189 122.6)
XYZxyz(56.0891, 75.0122, 18.7301)
Luminance0.7501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F04E #774EF0
analogous
#F0C84E #C7F04E #76F04E
triadic
#C7F04E #4EC7F0 #F04EC7
tetradic
#C7F04E #4EF0C8 #774EF0 #F04E76
square
#C7F04E #4EF0C8 #774EF0 #F04E76
split-complementary
#C7F04E #4E76F0 #C84EF0
monochromatic
#8BB40F #B5EB16 #C7F04E #D9F586 #EBFABF

Accessibility & contrast

On white

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

On black

16.00
#C7F04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F04E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F04E#FFFFFF#000000##000000
##C7F04E1.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE235
Deuteranopia (green-blind)
#F8E15B
Tritanopia (blue-blind)
#D1E4D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #c7f04e;
/* rgb */ color: rgb(199, 240, 78);
/* oklch */ color: oklch(89.7% 0.189 122.6);
Tailwind
colors: {
  custom: {
    50: '#dcf588',
    500: '#c7f04e',
    950: '#000000',
  },
}
SCSS
$custom: #c7f04e;
$custom-light: #dcf588;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f04e",
  "rgb": {
    "r": 199,
    "g": 240,
    "b": 78
  },
  "hsl": {
    "h": 75.185,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89668,
    "c": 0.18852,
    "h": 122.6
  },
  "luminance": 0.75012
}

Semantic roles & 50–950 ramp

primary
#C7F04E
secondary
#502EB4
accent
#05E13C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C7F04E

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

Preview Lab → · Contrast checker → · Palette generator →

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