#7FC040#7FC040

#7FC040 is a light, vivid yellow-green. Relative luminance 0.426; OKLCH L 73.8% C 0.172 H 132.4°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7FC040
RGBrgb(127, 192, 64)
HSLhsl(90, 50%, 50%)
HSVhsv(90, 67%, 75%)
CMYKcmyk(33.9%, 0%, 66.7%, 24.7%)
CIE-LABlab(71.27, -41.39, 55.75)
CIE-LCHlch(71.27, 69.43, 126.59°)
OKLaboklab(73.83% -0.1162 0.1273)
OKLCHoklch(73.83% 0.172 132.4)
XYZxyz(28.5271, 42.5804, 11.5653)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC040 #8140C0
analogous
#BFC040 #7FC040 #40C041
triadic
#7FC040 #407FC0 #C0407F
tetradic
#7FC040 #40BFC0 #8140C0 #C04140
square
#7FC040 #40BFC0 #8140C0 #C04140
split-complementary
#7FC040 #4140C0 #C040BF
monochromatic
#426421 #619230 #7FC040 #9ECF6E #BDDE9C

Accessibility & contrast

On white

2.21
#7FC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#7FC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC040
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC040#FFFFFF#000000##000000
##7FC0401.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#BFAD4B
Tritanopia (blue-blind)
#80B8A6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7fc040;
/* rgb */ color: rgb(127, 192, 64);
/* oklch */ color: oklch(73.8% 0.172 132.4);
Tailwind
colors: {
  custom: {
    50: '#a8d37b',
    500: '#7fc040',
    950: '#000000',
  },
}
SCSS
$custom: #7fc040;
$custom-light: #a8d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc040",
  "rgb": {
    "r": 127,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 90.469,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73832,
    "c": 0.17234,
    "h": 132.4
  },
  "luminance": 0.42581
}

Semantic roles & 50–950 ramp

primary
#7FC040
secondary
#AE91CB
accent
#4EDA95
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC040

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

Preview Lab → · Contrast checker → · Palette generator →

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