#7FC840#7FC840

#7FC840 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 75.8% C 0.183 H 133.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7FC840
RGBrgb(127, 200, 64)
HSLhsl(92, 55%, 52%)
HSVhsv(92, 68%, 78%)
CMYKcmyk(36.5%, 0%, 68%, 21.6%)
CIE-LABlab(73.67, -44.82, 58.27)
CIE-LCHlch(73.67, 73.51, 127.57°)
OKLaboklab(75.79% -0.1255 0.1326)
OKLCHoklch(75.79% 0.183 133.4)
XYZxyz(30.3316, 46.1894, 12.1668)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FC840 #8940C8
analogous
#C3C840 #7FC840 #40C845
triadic
#7FC840 #407FC8 #C8407F
tetradic
#7FC840 #40C3C8 #8940C8 #C84540
square
#7FC840 #40C3C8 #8940C8 #C84540
split-complementary
#7FC840 #4540C8 #C840C3
monochromatic
#446E20 #619D2D #7FC840 #9FD670 #BFE39F

Accessibility & contrast

On white

2.05
#7FC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#7FC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FC840
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FC840#FFFFFF#000000##000000
##7FC8401.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#7FC0AD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7fc840;
/* rgb */ color: rgb(127, 200, 64);
/* oklch */ color: oklch(75.8% 0.183 133.4);
Tailwind
colors: {
  custom: {
    50: '#a9d97c',
    500: '#7fc840',
    950: '#000000',
  },
}
SCSS
$custom: #7fc840;
$custom-light: #a9d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fc840",
  "rgb": {
    "r": 127,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 92.206,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75789,
    "c": 0.18259,
    "h": 133.4
  },
  "luminance": 0.46191
}

Semantic roles & 50–950 ramp

primary
#7FC840
secondary
#B494D0
accent
#49DF99
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#10140A
muted
#7F837C

Preview Lab

Preview with #7FC840

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

Preview Lab → · Contrast checker → · Palette generator →

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