#7CB940#7CB940

#7CB940 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 71.9% C 0.165 H 132.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7CB940
RGBrgb(124, 185, 64)
HSLhsl(90, 49%, 49%)
HSVhsv(90, 65%, 73%)
CMYKcmyk(33%, 0%, 65.4%, 27.5%)
CIE-LABlab(69.01, -39.41, 53.29)
CIE-LCHlch(69.01, 66.28, 126.48°)
OKLaboklab(71.95% -0.1106 0.1221)
OKLCHoklch(71.95% 0.165 132.2)
XYZxyz(26.5862, 39.3522, 11.0444)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB940 #7D40B9
analogous
#B9B940 #7CB940 #40B941
triadic
#7CB940 #407CB9 #B9407C
tetradic
#7CB940 #40B9B9 #7D40B9 #B94140
square
#7CB940 #40B9B9 #7D40B9 #B94140
split-complementary
#7CB940 #4140B9 #B940B9
monochromatic
#3F5E21 #5E8C30 #7CB940 #9BCC6B #B9DB98

Accessibility & contrast

On white

2.37
#7CB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#7CB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB940
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB940#FFFFFF#000000##000000
##7CB9401.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB30
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#7DB2A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7cb940;
/* rgb */ color: rgb(124, 185, 64);
/* oklch */ color: oklch(71.9% 0.165 132.2);
Tailwind
colors: {
  custom: {
    50: '#a6ce7b',
    500: '#7cb940',
    950: '#000000',
  },
}
SCSS
$custom: #7cb940;
$custom-light: #a6ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb940",
  "rgb": {
    "r": 124,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 90.248,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71946,
    "c": 0.16477,
    "h": 132.2
  },
  "luminance": 0.39353
}

Semantic roles & 50–950 ramp

primary
#7CB940
secondary
#AB8EC7
accent
#50D894
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7CB940

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

Preview Lab → · Contrast checker → · Palette generator →

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