#7EB241#7EB241

#7EB241 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.154 H 130.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7EB241
RGBrgb(126, 178, 65)
HSLhsl(88, 47%, 48%)
HSVhsv(88, 63%, 70%)
CMYKcmyk(29.2%, 0%, 63.5%, 30.2%)
CIE-LABlab(67.02, -35.45, 50.75)
CIE-LCHlch(67.02, 61.90, 124.94°)
OKLaboklab(70.36% -0.0998 0.1169)
OKLCHoklch(70.36% 0.154 130.5)
XYZxyz(25.4785, 36.6573, 10.7332)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB241 #7541B2
analogous
#B2AE41 #7EB241 #45B241
triadic
#7EB241 #417EB2 #B2417E
tetradic
#7EB241 #41B2AE #7541B2 #B24145
square
#7EB241 #41B2AE #7541B2 #B24145
split-complementary
#7EB241 #4145B2 #AE41B2
monochromatic
#3F5820 #5E8531 #7EB241 #9CC868 #B9D895

Accessibility & contrast

On white

2.52
#7EB241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#7EB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB241
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB241#FFFFFF#000000##000000
##7EB2411.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#B2A24A
Tritanopia (blue-blind)
#81AB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb241;
/* rgb */ color: rgb(126, 178, 65);
/* oklch */ color: oklch(70.4% 0.154 130.5);
Tailwind
colors: {
  custom: {
    50: '#a7c97b',
    500: '#7eb241',
    950: '#000000',
  },
}
SCSS
$custom: #7eb241;
$custom-light: #a7c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb241",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 87.611,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70362,
    "c": 0.15368,
    "h": 130.5
  },
  "luminance": 0.36658
}

Semantic roles & 50–950 ramp

primary
#7EB241
secondary
#A58BC4
accent
#52D68F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB241

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

Preview Lab → · Contrast checker → · Palette generator →

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