#C7F54E#C7F54E

#C7F54E is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.8% C 0.194 H 123.7°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#C7F54E
RGBrgb(199, 245, 78)
HSLhsl(77, 89%, 63%)
HSVhsv(77, 68%, 96%)
CMYKcmyk(18.8%, 0%, 68.2%, 3.9%)
CIE-LABlab(90.78, -37.18, 71.89)
CIE-LCHlch(90.78, 80.94, 117.34°)
OKLaboklab(90.78% -0.1077 0.1618)
OKLCHoklch(90.78% 0.194 123.7)
XYZxyz(57.5813, 77.9966, 19.2275)
Luminance0.7800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7F54E #7C4EF5
analogous
#F5CF4E #C7F54E #73F54E
triadic
#C7F54E #4EC7F5 #F54EC7
tetradic
#C7F54E #4EF5CF #7C4EF5 #F54E73
square
#C7F54E #4EF5CF #7C4EF5 #F54E73
split-complementary
#C7F54E #4E73F5 #CF4EF5
monochromatic
#8DBE0B #B5F214 #C7F54E #D9F888 #ECFCC2

Accessibility & contrast

On white

1.27
#C7F54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#C7F54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7F54E
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7F54E#FFFFFF#000000##000000
##C7F54E1.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE634
Deuteranopia (green-blind)
#FDE45C
Tritanopia (blue-blind)
#D0E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #c7f54e;
/* rgb */ color: rgb(199, 245, 78);
/* oklch */ color: oklch(90.8% 0.194 123.7);
Tailwind
colors: {
  custom: {
    50: '#dcf889',
    500: '#c7f54e',
    950: '#000000',
  },
}
SCSS
$custom: #c7f54e;
$custom-light: #dcf889;
$custom-dark: #000000;
JSON
{
  "hex": "#c7f54e",
  "rgb": {
    "r": 199,
    "g": 245,
    "b": 78
  },
  "hsl": {
    "h": 76.527,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90782,
    "c": 0.19439,
    "h": 123.7
  },
  "luminance": 0.77997
}

Semantic roles & 50–950 ramp

primary
#C7F54E
secondary
#532BBC
accent
#00E63F
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#15170C
muted
#84857F

Preview Lab

Preview with #C7F54E

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

Preview Lab → · Contrast checker → · Palette generator →

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