#7FC240#7FC240

#7FC240 is a light, vivid yellow-green. Relative luminance 0.435; OKLCH L 74.3% C 0.175 H 132.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7FC240
RGBrgb(127, 194, 64)
HSLhsl(91, 52%, 51%)
HSVhsv(91, 67%, 76%)
CMYKcmyk(34.5%, 0%, 67%, 23.9%)
CIE-LABlab(71.87, -42.26, 56.38)
CIE-LCHlch(71.87, 70.46, 126.85°)
OKLaboklab(74.32% -0.1186 0.1286)
OKLCHoklch(74.32% 0.175 132.7)
XYZxyz(28.9692, 43.4646, 11.7126)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC240 #8340C2
analogous
#C0C240 #7FC240 #40C242
triadic
#7FC240 #407FC2 #C2407F
tetradic
#7FC240 #40C0C2 #8340C2 #C24240
square
#7FC240 #40C0C2 #8340C2 #C24240
split-complementary
#7FC240 #4240C2 #C240C0
monochromatic
#436721 #619530 #7FC240 #9ED16E #BDE09D

Accessibility & contrast

On white

2.17
#7FC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#7FC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC240
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC240#FFFFFF#000000##000000
##7FC2401.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32E
Deuteranopia (green-blind)
#C1AE4B
Tritanopia (blue-blind)
#80BAA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7fc240;
/* rgb */ color: rgb(127, 194, 64);
/* oklch */ color: oklch(74.3% 0.175 132.7);
Tailwind
colors: {
  custom: {
    50: '#a9d57b',
    500: '#7fc240',
    950: '#000000',
  },
}
SCSS
$custom: #7fc240;
$custom-light: #a9d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc240",
  "rgb": {
    "r": 127,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 90.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.17493,
    "h": 132.7
  },
  "luminance": 0.43466
}

Semantic roles & 50–950 ramp

primary
#7FC240
secondary
#B092CC
accent
#4DDB96
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC240

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

Preview Lab → · Contrast checker → · Palette generator →

#7FC240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva