#7FC540#7FC540

#7FC540 is a light, vivid yellow-green. Relative luminance 0.448; OKLCH L 75.1% C 0.179 H 133.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7FC540
RGBrgb(127, 197, 64)
HSLhsl(92, 53%, 51%)
HSVhsv(92, 68%, 77%)
CMYKcmyk(35.5%, 0%, 67.5%, 22.7%)
CIE-LABlab(72.77, -43.55, 57.33)
CIE-LCHlch(72.77, 71.99, 127.22°)
OKLaboklab(75.06% -0.1221 0.1306)
OKLCHoklch(75.06% 0.179 133.1)
XYZxyz(29.6436, 44.8134, 11.9375)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC540 #8640C5
analogous
#C1C540 #7FC540 #40C543
triadic
#7FC540 #407FC5 #C5407F
tetradic
#7FC540 #40C1C5 #8640C5 #C54340
square
#7FC540 #40C1C5 #8640C5 #C54340
split-complementary
#7FC540 #4340C5 #C540C1
monochromatic
#436A20 #61992F #7FC540 #9ED36F #BEE29E

Accessibility & contrast

On white

2.11
#7FC540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#7FC540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC540
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC540#FFFFFF#000000##000000
##7FC5401.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C3B14B
Tritanopia (blue-blind)
#80BDAA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #7fc540;
/* rgb */ color: rgb(127, 197, 64);
/* oklch */ color: oklch(75.1% 0.179 133.1);
Tailwind
colors: {
  custom: {
    50: '#a9d77c',
    500: '#7fc540',
    950: '#000000',
  },
}
SCSS
$custom: #7fc540;
$custom-light: #a9d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc540",
  "rgb": {
    "r": 127,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 91.579,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75055,
    "c": 0.17877,
    "h": 133.1
  },
  "luminance": 0.44815
}

Semantic roles & 50–950 ramp

primary
#7FC540
secondary
#B293CE
accent
#4BDD98
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC540

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

Preview Lab → · Contrast checker → · Palette generator →

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