#7FBC40#7FBC40

#7FBC40 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 72.9% C 0.167 H 131.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7FBC40
RGBrgb(127, 188, 64)
HSLhsl(90, 49%, 49%)
HSVhsv(90, 66%, 74%)
CMYKcmyk(32.4%, 0%, 66%, 26.3%)
CIE-LABlab(70.07, -39.64, 54.47)
CIE-LCHlch(70.07, 67.37, 126.05°)
OKLaboklab(72.86% -0.1114 0.1246)
OKLCHoklch(72.86% 0.167 131.8)
XYZxyz(27.6607, 40.8476, 11.2765)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBC40 #7D40BC
analogous
#BCBB40 #7FBC40 #41BC40
triadic
#7FBC40 #407FBC #BC407F
tetradic
#7FBC40 #40BCBB #7D40BC #BC4041
square
#7FBC40 #40BCBB #7D40BC #BC4041
split-complementary
#7FBC40 #4041BC #BB40BC
monochromatic
#416121 #608E30 #7FBC40 #9DCD6C #BCDD9A

Accessibility & contrast

On white

2.29
#7FBC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#7FBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBC40
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBC40#FFFFFF#000000##000000
##7FBC401.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2F
Deuteranopia (green-blind)
#BBAA4A
Tritanopia (blue-blind)
#81B4A3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7fbc40;
/* rgb */ color: rgb(127, 188, 64);
/* oklch */ color: oklch(72.9% 0.167 131.8);
Tailwind
colors: {
  custom: {
    50: '#a8d07b',
    500: '#7fbc40',
    950: '#000000',
  },
}
SCSS
$custom: #7fbc40;
$custom-light: #a8d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbc40",
  "rgb": {
    "r": 127,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 89.516,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72855,
    "c": 0.16715,
    "h": 131.8
  },
  "luminance": 0.40849
}

Semantic roles & 50–950 ramp

primary
#7FBC40
secondary
#AB8FC9
accent
#4FD993
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7FBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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